Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.foo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.Typical_control_structures.foo,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_foo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_control_structures.foo,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_foo",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09792/0.09792, allocations: 21.62 MB / 36.56 MB, free: 1.062 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 187.3 kB / 42.83 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 272.1 MB, free: 1.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008691, allocations: 103.2 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 12 kB / 397.1 MB, free: 46.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09693, allocations: 55.82 MB / 452.9 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4448, allocations: 81 MB / 0.5214 GB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4451, allocations: 80.59 kB / 0.5215 GB, free: 13.19 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:51:3-51:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. Notification: Performance of FrontEnd - DAE generated: time 0.02875/0.4738, allocations: 10.37 MB / 0.5316 GB, free: 9.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4739, allocations: 3.719 kB / 0.5316 GB, free: 9.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.937e-05/0.4739, allocations: 19.53 kB / 0.5316 GB, free: 9.973 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002015/0.4759, allocations: 1.164 MB / 0.5328 GB, free: 9.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.476, allocations: 11.69 kB / 0.5328 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.4761, allocations: 76.7 kB / 0.5329 GB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.4762, allocations: 81.69 kB / 0.5329 GB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.4779, allocations: 0.8059 MB / 0.5337 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.4779, allocations: 27.22 kB / 0.5338 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.478, allocations: 42.75 kB / 0.5338 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.4786, allocations: 428.7 kB / 0.5342 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4786, allocations: 3.938 kB / 0.5342 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.4787, allocations: 16.39 kB / 0.5342 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4787, allocations: 7.688 kB / 0.5342 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.4792, allocations: 339.8 kB / 0.5346 GB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.481, allocations: 1.5 MB / 0.536 GB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.4815, allocations: 457.8 kB / 0.5365 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.4815, allocations: 3.953 kB / 0.5365 GB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.4819, allocations: 309 kB / 0.5368 GB, free: 7.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.4819, allocations: 3.375 kB / 0.5368 GB, free: 7.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002194/0.4841, allocations: 1.218 MB / 0.5379 GB, free: 6.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.4842, allocations: 179.7 kB / 0.5381 GB, free: 6.555 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4853, allocations: 0.7015 MB / 0.5388 GB, free: 6.297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4854, allocations: 43.7 kB / 0.5388 GB, free: 6.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4855, allocations: 315.2 kB / 0.5391 GB, free: 6.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.4856, allocations: 135.9 kB / 0.5393 GB, free: 6.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.4857, allocations: 11.59 kB / 0.5393 GB, free: 6.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.4858, allocations: 386.2 kB / 0.5397 GB, free: 5.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.486, allocations: 180.8 kB / 0.5398 GB, free: 5.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.4863, allocations: 303.2 kB / 0.5401 GB, free: 5.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.4866, allocations: 336.7 kB / 0.5404 GB, free: 5.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4866, allocations: 0 / 0.5404 GB, free: 5.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000815/0.4874, allocations: 0.7981 MB / 0.5412 GB, free: 5.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.4875, allocations: 134.1 kB / 0.5413 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4875, allocations: 8.375 kB / 0.5414 GB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4876, allocations: 11.03 kB / 0.5414 GB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.488, allocations: 107.3 kB / 0.5415 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.488, allocations: 7.344 kB / 0.5415 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.4886, allocations: 104.7 kB / 0.5416 GB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.4886, allocations: 26.38 kB / 0.5416 GB, free: 4.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.C1.HIsat,C1.HIsat,$PRE.C1.LOsat,C1.LOsat,$PRE.C1.xBias,C1.xBias,$PRE.C1.iBiaso,C1.iBiaso,$PRE.C1.fBias,C1.fBias,$PRE.C1.xfb,C1.xfb,$PRE.C1.ulin,C1.ulin,$PRE.C1.ulino,C1.ulino,$PRE.C1.u,C1.u,$PRE.C2.HIsat,C2.HIsat,$PRE.C2.LOsat,C2.LOsat,$PRE.C2.xBias,C2.xBias,$PRE.C2.iBiaso,C2.iBiaso,$PRE.C2.fBias,C2.fBias,$PRE.C2.xfb,C2.xfb,$PRE.C2.ulin,C2.ulin,$PRE.C2.ulino,C2.ulino,$PRE.C2.u,C2.u,$whenCondition2,$whenCondition1,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.4889, allocations: 322 kB / 0.5419 GB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.489, allocations: 73.5 kB / 0.542 GB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.4891, allocations: 71.84 kB / 0.542 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4891, allocations: 3.812 kB / 0.542 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4891, allocations: 3.953 kB / 0.5421 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4891, allocations: 0 / 0.5421 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.4896, allocations: 0.5572 MB / 0.5426 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4896, allocations: 0 / 0.5426 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4898, allocations: 26.64 kB / 0.5426 GB, free: 4.215 MB / 362.7 MB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (simulation): time 0.0006543/0.4904, allocations: 455.5 kB / 0.5431 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.4905, allocations: 14.78 kB / 0.5431 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/0.4906, allocations: 20.38 kB / 0.5431 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4906, allocations: 0 / 0.5431 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.4921, allocations: 1.353 MB / 0.5444 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.4923, allocations: 154.6 kB / 0.5446 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.4924, allocations: 18.53 kB / 0.5446 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.4929, allocations: 82.09 kB / 0.5447 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.493, allocations: 19.41 kB / 0.5447 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.493, allocations: 14.84 kB / 0.5447 GB, free: 3.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.494, allocations: 0.5661 MB / 0.5452 GB, free: 3.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.494, allocations: 0 / 0.5452 GB, free: 3.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004179/0.4944, allocations: 121.6 kB / 0.5454 GB, free: 3.352 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1]) * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,C1.HIsat,C1.LOsat,C1.xBias,C1.iBiaso,C1.fBias,C1.xfb,C1.ulin,C1.ulino,C1.u,C2.HIsat,C2.LOsat,C2.xBias,C2.iBiaso,C2.fBias,C2.xfb,C2.ulin,C2.ulino,C2.u) * Number of discrete states: 20 (C2.LOsat,C2.HIsat,C2.u,C2.ulino,C2.ulin,C2.xfb,C2.iBiaso,C2.fBias,C2.xBias,$whenCondition1,C1.LOsat,C1.HIsat,C1.u,C1.ulino,C1.ulin,C1.xfb,C1.iBiaso,C1.fBias,C1.xBias,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001752/0.4962, allocations: 1.922 MB / 0.5472 GB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.497, allocations: 0.9502 MB / 0.5482 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.497, allocations: 1 kB / 0.5482 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.4978, allocations: 0.6662 MB / 0.5488 GB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.4982, allocations: 87.28 kB / 0.5489 GB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/0.5058, allocations: 6.877 MB / 0.5556 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.5065, allocations: 0.9678 MB / 0.5566 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.5068, allocations: 92.55 kB / 0.5566 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.507, allocations: 230 kB / 0.5569 GB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5071, allocations: 0 / 0.5569 GB, free: 11.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.543, allocations: 12.85 MB / 0.5694 GB, free: 14.99 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.5433, allocations: 192.9 kB / 0.5696 GB, free: 14.75 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o AES_AES_Coursework_Typical_control_structures_foo.o AES_AES_Coursework_Typical_control_structures_foo.c In file included from AES_AES_Coursework_Typical_control_structures_foo.c:7: In file included from ./AES_AES_Coursework_Typical_control_structures_foo_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o AES_AES_Coursework_Typical_control_structures_foo_functions.o AES_AES_Coursework_Typical_control_structures_foo_functions.c In file included from AES_AES_Coursework_Typical_control_structures_foo_functions.c:2: In file included from ./AES_AES_Coursework_Typical_control_structures_foo_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o AES_AES_Coursework_Typical_control_structures_foo_records.o AES_AES_Coursework_Typical_control_structures_foo_records.c In file included from AES_AES_Coursework_Typical_control_structures_foo_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o AES_AES_Coursework_Typical_control_structures_foo_01exo.o AES_AES_Coursework_Typical_control_structures_foo_01exo.c In file included from AES_AES_Coursework_Typical_control_structures_foo_01exo.c:2: In file included from ./AES_AES_Coursework_Typical_control_structures_foo_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o AES_AES_Coursework_Typical_control_structures_foo_02nls.o AES_AES_Coursework_Typical_control_structures_foo_02nls.c In file included from AES_AES_Coursework_Typical_control_structures_foo_02nls.c:2: In file included from ./AES_AES_Coursework_Typical_control_structures_foo_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:384:87: error: no member named 'nominal' in 'struct BOOLEAN_ATTRIBUTE' sysData->nominal[i] = data->modelData->booleanVarsData[11].attribute /* C2.LOsat */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:385:87: error: no member named 'min' in 'struct BOOLEAN_ATTRIBUTE' sysData->min[i] = data->modelData->booleanVarsData[11].attribute /* C2.LOsat */.min; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:386:87: error: no member named 'max' in 'struct BOOLEAN_ATTRIBUTE' sysData->max[i++] = data->modelData->booleanVarsData[11].attribute /* C2.LOsat */.max; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:392:93: error: no member named 'nominal' in 'struct BOOLEAN_ATTRIBUTE' sysData->nominal[i] = data->modelData->booleanVarsData[3].attribute /* $whenCondition1 */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:393:93: error: no member named 'min' in 'struct BOOLEAN_ATTRIBUTE' sysData->min[i] = data->modelData->booleanVarsData[3].attribute /* $whenCondition1 */.min; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:394:93: error: no member named 'max' in 'struct BOOLEAN_ATTRIBUTE' sysData->max[i++] = data->modelData->booleanVarsData[3].attribute /* $whenCondition1 */.max; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:400:87: error: no member named 'nominal' in 'struct BOOLEAN_ATTRIBUTE' sysData->nominal[i] = data->modelData->booleanVarsData[10].attribute /* C2.HIsat */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:401:87: error: no member named 'min' in 'struct BOOLEAN_ATTRIBUTE' sysData->min[i] = data->modelData->booleanVarsData[10].attribute /* C2.HIsat */.min; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ AES_AES_Coursework_Typical_control_structures_foo_02nls.c:402:87: error: no member named 'max' in 'struct BOOLEAN_ATTRIBUTE' sysData->max[i++] = data->modelData->booleanVarsData[10].attribute /* C2.HIsat */.max; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 warnings and 9 errors generated. make: *** [: AES_AES_Coursework_Typical_control_structures_foo_02nls.o] Error 1