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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.147/4.147, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.361e-05, allocations: 4.062 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 98.74 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2529/0.4769, allocations: 130.3 MB / 0.762 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.4773, allocations: 71.97 kB / 0.7621 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06124/0.5385, allocations: 13.67 MB / 0.7754 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5386, allocations: 4 kB / 0.7754 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.429e-05/0.5387, allocations: 21.75 kB / 0.7754 GB, free: 1.57 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.003018/0.5417, allocations: 1.007 MB / 0.7764 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5418, allocations: 8.031 kB / 0.7764 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/0.5421, allocations: 102.5 kB / 0.7765 GB, free: 396 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.5424, allocations: 86.97 kB / 0.7766 GB, free: 308 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5869/1.129, allocations: 473.6 kB / 0.7771 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/1.129, allocations: 51.47 kB / 0.7771 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/1.13, allocations: 62.84 kB / 0.7772 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.131, allocations: 0.5341 MB / 0.7777 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.131, allocations: 1.031 kB / 0.7777 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/1.131, allocations: 28.08 kB / 0.7777 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/1.131, allocations: 14.72 kB / 0.7777 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/1.133, allocations: 475.3 kB / 0.7782 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006011/1.139, allocations: 1.903 MB / 0.7801 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.14, allocations: 462.5 kB / 0.7805 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/1.141, allocations: 185.1 kB / 0.7807 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/1.141, allocations: 10.92 kB / 0.7807 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008698/1.142, allocations: 343.8 kB / 0.781 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=54): time 3.647e-06/1.142, allocations: 0.6875 kB / 0.781 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54): time 0.00165/1.143, allocations: 471 kB / 0.7815 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/1.144, allocations: 242.5 kB / 0.7817 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.145, allocations: 0.5138 MB / 0.7822 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/1.145, allocations: 42.52 kB / 0.7822 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/1.145, allocations: 307.3 kB / 0.7825 GB, free: 133 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.145, allocations: 167.8 kB / 0.7827 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/1.145, allocations: 9.188 kB / 0.7827 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.145, allocations: 378.5 kB / 0.7831 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/1.146, allocations: 156.1 kB / 0.7832 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/1.147, allocations: 331.4 kB / 0.7835 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/1.147, allocations: 194 kB / 0.7837 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.147, allocations: 0 / 0.7837 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00138/1.149, allocations: 0.501 MB / 0.7842 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.149, allocations: 452.8 kB / 0.7846 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.149, allocations: 1 kB / 0.7846 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/1.149, allocations: 8.547 kB / 0.7846 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.15, allocations: 115.5 kB / 0.7847 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.15, allocations: 7.812 kB / 0.7848 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.151, allocations: 143.6 kB / 0.7849 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/1.151, allocations: 17.73 kB / 0.7849 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.151, allocations: 4 kB / 0.7849 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/1.152, allocations: 426.3 kB / 0.7853 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.152, allocations: 2.156 kB / 0.7853 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/1.152, allocations: 4.344 kB / 0.7853 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/1.153, allocations: 100.6 kB / 0.7854 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.153, allocations: 6.125 kB / 0.7854 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/1.154, allocations: 127.8 kB / 0.7855 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/1.154, allocations: 16.23 kB / 0.7856 GB, free: 131.8 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 () * 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.0002202/1.155, allocations: 147 kB / 0.7857 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.155, allocations: 68.86 kB / 0.7858 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.156, allocations: 0.5501 MB / 0.7863 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.156, allocations: 10.22 kB / 0.7863 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.156, allocations: 0.9688 kB / 0.7863 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.156, allocations: 3.188 kB / 0.7863 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/1.16, allocations: 1.67 MB / 0.7879 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.16, allocations: 5.516 kB / 0.788 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/1.161, allocations: 116.3 kB / 0.7881 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/1.161, allocations: 7.656 kB / 0.7881 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/1.161, allocations: 16.97 kB / 0.7881 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/1.162, allocations: 12.59 kB / 0.7881 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.162, allocations: 10.08 kB / 0.7881 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/1.163, allocations: 0.9684 MB / 0.7891 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/1.163, allocations: 220 kB / 0.7893 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.164, allocations: 24.83 kB / 0.7893 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000843/1.164, allocations: 75.73 kB / 0.7894 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.165, allocations: 61.03 kB / 0.7894 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/1.165, allocations: 25.77 kB / 0.7894 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007422/1.165, allocations: 406.1 kB / 0.7898 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.326e-06/1.165, allocations: 4 kB / 0.7898 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00116/1.167, allocations: 246.7 kB / 0.7901 GB, free: 130.1 MB / 0.6511 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 (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.002403/1.169, allocations: 2.982 MB / 0.793 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00216/1.171, allocations: 0.6736 MB / 0.7936 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.171, allocations: 0.9375 kB / 0.7936 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008064/1.172, allocations: 273.6 kB / 0.7939 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/1.173, allocations: 116.7 kB / 0.794 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/1.176, allocations: 1.049 MB / 0.795 GB, free: 127 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/1.177, allocations: 0.9175 MB / 0.7959 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000901/1.178, allocations: 136.4 kB / 0.7961 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/1.178, allocations: 241.5 kB / 0.7963 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/1.178, allocations: 1 kB / 0.7963 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05201/1.23, allocations: 14.12 MB / 0.8101 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.231, allocations: 206.6 kB / 0.8103 GB, free: 124.6 MB / 0.6511 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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_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