Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",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.138/2.138, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 180.7 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.679/2.679, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001622/0.001622, allocations: 106.8 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007012/0.0007015, allocations: 13.28 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2921, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.6006, allocations: 135 MB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/0.6011, allocations: 79.95 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03928/0.6404, allocations: 6.768 MB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6404, allocations: 0 / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.556e-05/0.6405, allocations: 4 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001398/0.6419, allocations: 0.5541 MB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.642, allocations: 8.031 kB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.919e-05/0.6421, allocations: 42.55 kB / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.6423, allocations: 27.75 kB / 1.038 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6434, allocations: 278.4 kB / 1.038 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.6434, allocations: 11.88 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.6435, allocations: 16 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.644, allocations: 109.5 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.644, allocations: 0 / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.6441, allocations: 8 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.6441, allocations: 0 / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.6444, allocations: 56.78 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.6463, allocations: 0.4924 MB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.6469, allocations: 110.7 kB / 1.039 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.647, allocations: 3.984 kB / 1.039 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.6474, allocations: 99.36 kB / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 4.288e-06/0.6474, allocations: 4 kB / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16): time 0.000771/0.6482, allocations: 174.4 kB / 1.039 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.6483, allocations: 63.34 kB / 1.039 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.6487, allocations: 175.6 kB / 1.04 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.6488, allocations: 29.7 kB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.649, allocations: 136.3 kB / 1.04 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.6491, allocations: 35.61 kB / 1.04 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.6492, allocations: 0 / 1.04 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.6494, allocations: 338.8 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.6498, allocations: 63.95 kB / 1.04 GB, free: 332 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.6503, allocations: 131.7 kB / 1.04 GB, free: 172 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.6508, allocations: 131.3 kB / 1.04 GB, free: 28 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6508, allocations: 0 / 1.04 GB, free: 28 kB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001396/0.6522, allocations: 324.5 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.6524, allocations: 65.27 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6524, allocations: 4 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.6524, allocations: 0 / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.6527, allocations: 27.92 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.6527, allocations: 4.156 kB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.6532, allocations: 27.86 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.6533, allocations: 15.98 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0003082/0.6536, allocations: 144 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.6537, allocations: 23.7 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.6542, allocations: 143.5 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6543, allocations: 4 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6543, allocations: 0 / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6543, allocations: 4 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.6556, allocations: 496.4 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6557, allocations: 3.938 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.6558, allocations: 11.92 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.6558, allocations: 8 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.6559, allocations: 0 / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6559, allocations: 0 / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6559, allocations: 0 / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.6565, allocations: 243.2 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6566, allocations: 92.95 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.6567, allocations: 7.984 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.657, allocations: 15.98 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.6571, allocations: 19.97 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.6572, allocations: 8 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002634/0.6574, allocations: 137.5 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6575, allocations: 0 / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008643/0.6583, allocations: 59.78 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001704/0.6601, allocations: 0.8359 MB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.6611, allocations: 255.6 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.6611, allocations: 4 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.6613, allocations: 51.91 kB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.6621, allocations: 49.05 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.665, allocations: 1.514 MB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.6656, allocations: 0.7285 MB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.6659, allocations: 37.91 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.6661, allocations: 63.34 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.392e-06/0.6661, allocations: 3.938 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.7, allocations: 4.902 MB / 1.05 GB, free: 5.617 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.7003, allocations: 217.8 kB / 1.051 GB, free: 5.375 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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_TimeSeries_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1