Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.041/3.041, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001482, allocations: 175.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 89.67 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.000522, allocations: 13.53 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2262, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.992/1.218, allocations: 143.5 MB / 1.118 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.219, allocations: 84.7 kB / 1.118 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.057/1.276, allocations: 14.07 MB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/1.276, allocations: 0 / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.177e-05/1.276, allocations: 26.78 kB / 1.132 GB, free: 28.79 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00306/1.279, allocations: 1.092 MB / 1.133 GB, free: 27.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.279, allocations: 15.7 kB / 1.133 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003678/1.279, allocations: 110 kB / 1.133 GB, free: 27.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/1.28, allocations: 92.31 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.281, allocations: 0.4915 MB / 1.134 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/1.281, allocations: 58.75 kB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.281, allocations: 71.09 kB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.283, allocations: 0.63 MB / 1.135 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/1.283, allocations: 0 / 1.135 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.284, allocations: 35.2 kB / 1.135 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/1.284, allocations: 15.41 kB / 1.135 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/1.286, allocations: 0.6084 MB / 1.135 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/1.292, allocations: 1.989 MB / 1.137 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/1.294, allocations: 0.5645 MB / 1.138 GB, free: 26.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/1.294, allocations: 18.97 kB / 1.138 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/1.295, allocations: 395.1 kB / 1.138 GB, free: 26.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 6.171e-06/1.295, allocations: 0 / 1.138 GB, free: 26.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.005227/1.3, allocations: 0.7822 MB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002118/1.301, allocations: 246.7 kB / 1.139 GB, free: 25.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.302, allocations: 0.557 MB / 1.14 GB, free: 25.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/1.303, allocations: 39.55 kB / 1.14 GB, free: 25.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/1.303, allocations: 317.3 kB / 1.14 GB, free: 25.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/1.304, allocations: 175.8 kB / 1.14 GB, free: 25.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/1.304, allocations: 7.312 kB / 1.14 GB, free: 25.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004259/1.304, allocations: 385.7 kB / 1.141 GB, free: 24.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/1.306, allocations: 223 kB / 1.141 GB, free: 24.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/1.308, allocations: 401 kB / 1.141 GB, free: 24.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/1.309, allocations: 259.7 kB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/1.309, allocations: 0 / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.006145/1.316, allocations: 0.6448 MB / 1.142 GB, free: 24.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005096/1.316, allocations: 456.9 kB / 1.143 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/1.317, allocations: 4 kB / 1.143 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/1.318, allocations: 3.719 kB / 1.143 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.319, allocations: 123.5 kB / 1.143 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/1.319, allocations: 3.844 kB / 1.143 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.321, allocations: 150.1 kB / 1.143 GB, free: 23.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/1.322, allocations: 18.89 kB / 1.143 GB, free: 23.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.322, allocations: 7.688 kB / 1.143 GB, free: 23.77 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003583/1.325, allocations: 0.4972 MB / 1.143 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.325, allocations: 0 / 1.143 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.325, allocations: 3.469 kB / 1.143 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.328, allocations: 106.8 kB / 1.144 GB, free: 23.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-05/1.328, allocations: 3.688 kB / 1.144 GB, free: 23.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.33, allocations: 121.8 kB / 1.144 GB, free: 23.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.33, allocations: 18.56 kB / 1.144 GB, free: 23.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006447/1.331, allocations: 286.7 kB / 1.144 GB, free: 23.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.331, allocations: 80.64 kB / 1.144 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/1.334, allocations: 0.6635 MB / 1.145 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.334, allocations: 3.875 kB / 1.145 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.334, allocations: 3.984 kB / 1.145 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/1.334, allocations: 3.812 kB / 1.145 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00953/1.344, allocations: 1.806 MB / 1.146 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.344, allocations: 3.844 kB / 1.146 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.346, allocations: 119.6 kB / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/1.346, allocations: 7.594 kB / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/1.346, allocations: 14.81 kB / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/1.346, allocations: 7.625 kB / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/1.346, allocations: 15.59 kB / 1.147 GB, free: 22.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/1.349, allocations: 1.088 MB / 1.148 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/1.35, allocations: 221.9 kB / 1.148 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.35, allocations: 18.89 kB / 1.148 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/1.351, allocations: 79.34 kB / 1.148 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.351, allocations: 61.52 kB / 1.148 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/1.351, allocations: 26.77 kB / 1.148 GB, free: 21.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009309/1.352, allocations: 449.1 kB / 1.148 GB, free: 21.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.352, allocations: 4 kB / 1.148 GB, free: 21.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001329/1.353, allocations: 250.8 kB / 1.149 GB, free: 21.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003738/1.357, allocations: 3.085 MB / 1.152 GB, free: 18.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00279/1.36, allocations: 0.8216 MB / 1.153 GB, free: 18.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.36, allocations: 0 / 1.153 GB, free: 18.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.361, allocations: 321.3 kB / 1.153 GB, free: 18.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/1.362, allocations: 115.7 kB / 1.153 GB, free: 18.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/1.367, allocations: 2.667 MB / 1.156 GB, free: 16.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/1.367, allocations: 0.9286 MB / 1.156 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007523/1.368, allocations: 110.9 kB / 1.157 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.369, allocations: 264.8 kB / 1.157 GB, free: 15.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.369, allocations: 7.812 kB / 1.157 GB, free: 15.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/1.416, allocations: 13.34 MB / 1.17 GB, free: 3.914 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/1.417, allocations: 234.9 kB / 1.17 GB, free: 3.676 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_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 -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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_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); ^ In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1