Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01129/0.01131, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001219/0.001219, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.006/2.006, allocations: 194.5 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.568/2.568, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005099, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6692/0.6698, allocations: 98.72 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.9017, allocations: 130.4 MB / 0.8108 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.9021, allocations: 79.95 kB / 0.8109 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05949/0.9616, allocations: 13.71 MB / 0.8243 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9617, allocations: 0 / 0.8243 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.362e-05/0.9617, allocations: 16 kB / 0.8243 GB, free: 13.88 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002987/0.9647, allocations: 1.069 MB / 0.8253 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.9648, allocations: 12.03 kB / 0.8253 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002451/0.9651, allocations: 114.4 kB / 0.8254 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.9653, allocations: 90.91 kB / 0.8255 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.9666, allocations: 488.5 kB / 0.826 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.9667, allocations: 49.31 kB / 0.826 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.9669, allocations: 67.94 kB / 0.8261 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.9689, allocations: 0.6 MB / 0.8267 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.9689, allocations: 3.953 kB / 0.8267 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.969, allocations: 28 kB / 0.8267 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.9691, allocations: 16 kB / 0.8267 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.9712, allocations: 0.5908 MB / 0.8273 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.9769, allocations: 1.895 MB / 0.8292 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.979, allocations: 0.5285 MB / 0.8297 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/0.9791, allocations: 12.42 kB / 0.8297 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.9803, allocations: 389.3 kB / 0.8301 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=54): time 3.056e-06/0.9803, allocations: 0 / 0.8301 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54): time 0.002875/0.9832, allocations: 0.756 MB / 0.8308 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.9834, allocations: 239.8 kB / 0.831 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.9845, allocations: 0.5345 MB / 0.8316 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.9847, allocations: 41.7 kB / 0.8316 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.9851, allocations: 313 kB / 0.8319 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.9854, allocations: 165.6 kB / 0.8321 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.9854, allocations: 12 kB / 0.8321 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.9856, allocations: 378.7 kB / 0.8324 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/0.9866, allocations: 225 kB / 0.8326 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.9879, allocations: 397.3 kB / 0.833 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.9889, allocations: 256.8 kB / 0.8333 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.9889, allocations: 4 kB / 0.8333 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002319/0.9912, allocations: 0.6265 MB / 0.8339 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.9915, allocations: 458.6 kB / 0.8343 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.9915, allocations: 0 / 0.8343 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.9915, allocations: 4 kB / 0.8343 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.9926, allocations: 115.9 kB / 0.8344 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.9926, allocations: 7.938 kB / 0.8344 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.9938, allocations: 143.2 kB / 0.8346 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.9939, allocations: 16 kB / 0.8346 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9939, allocations: 4 kB / 0.8346 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/0.9956, allocations: 491.5 kB / 0.8351 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9957, allocations: 7.938 kB / 0.8351 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.9957, allocations: 7.953 kB / 0.8351 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/0.9966, allocations: 95.89 kB / 0.8352 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9966, allocations: 8 kB / 0.8352 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.9977, allocations: 127.2 kB / 0.8353 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.9978, allocations: 19.98 kB / 0.8353 GB, free: 2.164 MB / 0.6511 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 (63): * Single equations (assignments): 63 * 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.0005245/0.9983, allocations: 280.9 kB / 0.8356 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.9985, allocations: 67.16 kB / 0.8356 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/1.001, allocations: 0.6583 MB / 0.8363 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/1.001, allocations: 7.953 kB / 0.8363 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.001, allocations: 4 kB / 0.8363 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.001, allocations: 3.984 kB / 0.8363 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/1.005, allocations: 1.76 MB / 0.838 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.006, allocations: 4 kB / 0.838 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/1.006, allocations: 111.8 kB / 0.8381 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/1.006, allocations: 11.95 kB / 0.8381 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/1.007, allocations: 19.94 kB / 0.8382 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/1.007, allocations: 16.11 kB / 0.8382 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/1.007, allocations: 15.92 kB / 0.8382 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.009, allocations: 1.061 MB / 0.8392 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/1.009, allocations: 216 kB / 0.8394 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.009, allocations: 23.98 kB / 0.8395 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/1.01, allocations: 75.94 kB / 0.8395 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.01, allocations: 59.83 kB / 0.8396 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/1.011, allocations: 27.98 kB / 0.8396 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008288/1.011, allocations: 427.1 kB / 0.84 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4e-07/1.011, allocations: 0 / 0.84 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001119/1.012, allocations: 243.4 kB / 0.8403 GB, free: 12.75 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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.003566/1.016, allocations: 3.081 MB / 0.8433 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002928/1.019, allocations: 0.7894 MB / 0.844 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.019, allocations: 3.938 kB / 0.844 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.02, allocations: 316.4 kB / 0.8443 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/1.021, allocations: 128.8 kB / 0.8445 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/1.026, allocations: 2.589 MB / 0.847 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/1.026, allocations: 0.9162 MB / 0.8479 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007017/1.027, allocations: 109 kB / 0.848 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/1.028, allocations: 251.3 kB / 0.8482 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of SimCode: time 1.132e-06/1.028, allocations: 0 / 0.8482 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/1.076, allocations: 13.03 MB / 0.861 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003758/1.076, allocations: 234.5 kB / 0.8612 GB, free: 7.199 MB / 0.6823 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_6_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1