Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001396/0.001396, allocations: 173.1 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 0.6366 GB, free: 8.543 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 86.02 kB / 0.7509 GB, free: 63.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6933/0.9827, allocations: 144.6 MB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.9831, allocations: 80.45 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0394/1.022, allocations: 14.08 MB / 1.143 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.887e-06/1.023, allocations: 4 kB / 1.143 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.488e-05/1.023, allocations: 24 kB / 1.144 GB, free: 21.8 MB / 0.7292 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.00279/1.025, allocations: 1.097 MB / 1.145 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.025, allocations: 12.02 kB / 1.145 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003384/1.026, allocations: 107.3 kB / 1.145 GB, free: 20.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/1.026, allocations: 96.38 kB / 1.145 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.027, allocations: 0.4902 MB / 1.145 GB, free: 20.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/1.027, allocations: 63.05 kB / 1.145 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.027, allocations: 69.12 kB / 1.145 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.029, allocations: 0.6262 MB / 1.146 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.029, allocations: 0 / 1.146 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/1.029, allocations: 24 kB / 1.146 GB, free: 19.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/1.029, allocations: 16 kB / 1.146 GB, free: 19.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.03, allocations: 0.6187 MB / 1.147 GB, free: 18.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/1.034, allocations: 1.985 MB / 1.149 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.036, allocations: 0.5683 MB / 1.149 GB, free: 16.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/1.036, allocations: 9.703 kB / 1.149 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006856/1.036, allocations: 407.6 kB / 1.15 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 3.095e-06/1.036, allocations: 1.031 kB / 1.15 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.001622/1.038, allocations: 0.773 MB / 1.15 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/1.038, allocations: 249 kB / 1.151 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/1.039, allocations: 0.5611 MB / 1.151 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/1.039, allocations: 37.7 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/1.039, allocations: 319.9 kB / 1.151 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/1.039, allocations: 167.4 kB / 1.152 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/1.039, allocations: 12 kB / 1.152 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.039, allocations: 381.6 kB / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/1.04, allocations: 226.7 kB / 1.152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/1.041, allocations: 399.2 kB / 1.153 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/1.041, allocations: 255.6 kB / 1.153 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.041, allocations: 0 / 1.153 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00111/1.042, allocations: 0.6487 MB / 1.153 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.042, allocations: 456.5 kB / 1.154 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.042, allocations: 4 kB / 1.154 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.042, allocations: 7.938 kB / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/1.043, allocations: 120.6 kB / 1.154 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.043, allocations: 8.859 kB / 1.154 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/1.043, allocations: 144.3 kB / 1.154 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/1.043, allocations: 21.45 kB / 1.154 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/1.043, allocations: 4 kB / 1.154 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000827/1.044, allocations: 0.4925 MB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/1.044, allocations: 5.828 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/1.044, allocations: 4 kB / 1.155 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/1.045, allocations: 112.9 kB / 1.155 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.045, allocations: 5.172 kB / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/1.045, allocations: 114.6 kB / 1.155 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/1.045, allocations: 21.31 kB / 1.155 GB, free: 11.16 MB / 0.7292 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.000319/1.046, allocations: 277.1 kB / 1.155 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/1.046, allocations: 79.02 kB / 1.155 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/1.047, allocations: 0.6686 MB / 1.156 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.047, allocations: 4 kB / 1.156 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.047, allocations: 0 / 1.156 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.047, allocations: 4.031 kB / 1.156 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/1.049, allocations: 1.807 MB / 1.158 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.049, allocations: 4 kB / 1.158 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/1.05, allocations: 112.9 kB / 1.158 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.05, allocations: 13.03 kB / 1.158 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/1.05, allocations: 21.59 kB / 1.158 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.05, allocations: 9.625 kB / 1.158 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.05, allocations: 8 kB / 1.158 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.051, allocations: 1.089 MB / 1.159 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/1.051, allocations: 220.1 kB / 1.159 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/1.051, allocations: 21.5 kB / 1.159 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/1.052, allocations: 75.66 kB / 1.159 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.052, allocations: 61.53 kB / 1.159 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/1.052, allocations: 27.14 kB / 1.159 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004927/1.052, allocations: 449.7 kB / 1.16 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/1.052, allocations: 1.312 kB / 1.16 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007679/1.053, allocations: 253.8 kB / 1.16 GB, free: 6.215 MB / 0.7292 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.001789/1.055, allocations: 3.094 MB / 1.163 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.057, allocations: 0.8169 MB / 1.164 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.057, allocations: 0 / 1.164 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/1.057, allocations: 328.9 kB / 1.164 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/1.058, allocations: 120.2 kB / 1.164 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/1.061, allocations: 2.658 MB / 1.167 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/1.061, allocations: 0.9319 MB / 1.168 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004309/1.062, allocations: 111 kB / 1.168 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/1.062, allocations: 267.3 kB / 1.168 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/1.062, allocations: 0 / 1.168 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/1.093, allocations: 13.33 MB / 1.181 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.093, allocations: 241.5 kB / 1.181 GB, free: 352 kB / 0.7448 GB 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_8_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 -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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_8_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_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1