Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.247/2.247, allocations: 248.5 MB / 261 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 184.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 104 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.644e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8699/1.069, allocations: 137.6 MB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.069, allocations: 75.52 kB / 1.025 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06129/1.13, allocations: 13.93 MB / 1.039 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/1.13, allocations: 0 / 1.039 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.708e-05/1.131, allocations: 16 kB / 1.039 GB, free: 1.598 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002981/1.134, allocations: 1.011 MB / 1.04 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.134, allocations: 8.031 kB / 1.04 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/1.134, allocations: 104.1 kB / 1.04 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/1.134, allocations: 94.97 kB / 1.04 GB, free: 408 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.136, allocations: 490.3 kB / 1.04 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/1.136, allocations: 58.5 kB / 1.04 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.136, allocations: 69.92 kB / 1.04 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.138, allocations: 0.5432 MB / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/1.138, allocations: 3.953 kB / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/1.138, allocations: 27.81 kB / 1.041 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/1.138, allocations: 19.98 kB / 1.041 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.139, allocations: 484.7 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/1.145, allocations: 1.953 MB / 1.043 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/1.147, allocations: 468.7 kB / 1.044 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/1.147, allocations: 186.6 kB / 1.044 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/1.148, allocations: 12.38 kB / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008296/1.148, allocations: 347.3 kB / 1.044 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=55): time 1.346e-05/1.148, allocations: 0 / 1.044 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55): time 0.00146/1.15, allocations: 480.2 kB / 1.045 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.15, allocations: 243.3 kB / 1.045 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.151, allocations: 0.5299 MB / 1.046 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.151, allocations: 45.14 kB / 1.046 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/1.152, allocations: 324.7 kB / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/1.152, allocations: 166.1 kB / 1.046 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/1.152, allocations: 13.5 kB / 1.046 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.152, allocations: 379.8 kB / 1.046 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/1.153, allocations: 160.4 kB / 1.047 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/1.154, allocations: 334.6 kB / 1.047 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/1.154, allocations: 182.7 kB / 1.047 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.154, allocations: 0 / 1.047 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00149/1.156, allocations: 0.5222 MB / 1.048 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/1.156, allocations: 449.6 kB / 1.048 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.156, allocations: 0 / 1.048 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.156, allocations: 4 kB / 1.048 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.157, allocations: 123.5 kB / 1.048 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.157, allocations: 4 kB / 1.048 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.158, allocations: 145.1 kB / 1.048 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/1.158, allocations: 23.67 kB / 1.048 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.158, allocations: 4 kB / 1.048 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/1.16, allocations: 423.4 kB / 1.049 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.16, allocations: 3.984 kB / 1.049 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.16, allocations: 4 kB / 1.049 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/1.161, allocations: 106.4 kB / 1.049 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.161, allocations: 4 kB / 1.049 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.162, allocations: 117.8 kB / 1.049 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/1.162, allocations: 22.31 kB / 1.049 GB, free: 9.039 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0002799/1.162, allocations: 145.7 kB / 1.049 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/1.162, allocations: 79.02 kB / 1.049 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/1.164, allocations: 0.5577 MB / 1.05 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.164, allocations: 8 kB / 1.05 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.164, allocations: 0 / 1.05 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.164, allocations: 3.984 kB / 1.05 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/1.168, allocations: 1.702 MB / 1.051 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.168, allocations: 4 kB / 1.051 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/1.169, allocations: 111 kB / 1.052 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.169, allocations: 8.438 kB / 1.052 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/1.169, allocations: 18.69 kB / 1.052 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/1.169, allocations: 19.86 kB / 1.052 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.169, allocations: 8 kB / 1.052 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.171, allocations: 0.9791 MB / 1.053 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/1.171, allocations: 214.6 kB / 1.053 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.172, allocations: 17.8 kB / 1.053 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008667/1.172, allocations: 78.12 kB / 1.053 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.173, allocations: 58.64 kB / 1.053 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/1.173, allocations: 29.8 kB / 1.053 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007959/1.174, allocations: 417.1 kB / 1.053 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/1.174, allocations: 0 / 1.053 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001231/1.175, allocations: 260.6 kB / 1.054 GB, free: 5.031 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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.00343/1.178, allocations: 2.984 MB / 1.057 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002134/1.18, allocations: 0.6911 MB / 1.057 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.181, allocations: 0 / 1.057 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009341/1.181, allocations: 278.3 kB / 1.057 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.183, allocations: 111.2 kB / 1.058 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/1.186, allocations: 1.071 MB / 1.059 GB, free: 348 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/1.187, allocations: 0.929 MB / 1.06 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009441/1.188, allocations: 127.8 kB / 1.06 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/1.188, allocations: 253 kB / 1.06 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of SimCode: time 3.978e-06/1.188, allocations: 0 / 1.06 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/1.247, allocations: 14.31 MB / 1.074 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/1.247, allocations: 204.6 kB / 1.074 GB, free: 0.832 MB / 0.6823 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_7_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1