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.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",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.02062/0.02062, allocations: 109.3 kB / 15.05 MB, free: 5.934 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.001428/0.001428, allocations: 184.8 kB / 15.94 MB, free: 5.898 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.109/2.109, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.201/2.201, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004862, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6493, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.874, allocations: 128 MB / 0.8084 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.8744, allocations: 79.95 kB / 0.8085 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0297/0.9041, allocations: 6.766 MB / 0.8151 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9042, allocations: 0 / 0.8151 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.9042, allocations: 8 kB / 0.8151 GB, free: 7.254 MB / 0.6355 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.0009837/0.9052, allocations: 0.5465 MB / 0.8157 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9052, allocations: 8.031 kB / 0.8157 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.9053, allocations: 46.5 kB / 0.8157 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.9054, allocations: 23.72 kB / 0.8157 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.9062, allocations: 262.7 kB / 0.816 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.9062, allocations: 12 kB / 0.816 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.9063, allocations: 16 kB / 0.816 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.9066, allocations: 112.6 kB / 0.8161 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9066, allocations: 0 / 0.8161 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.9066, allocations: 11.92 kB / 0.8161 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.9066, allocations: 4 kB / 0.8161 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.9068, allocations: 55.97 kB / 0.8162 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.9081, allocations: 496.3 kB / 0.8167 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.9085, allocations: 106.7 kB / 0.8168 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.9086, allocations: 3.938 kB / 0.8168 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.9088, allocations: 107.3 kB / 0.8169 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.996e-06/0.9088, allocations: 4 kB / 0.8169 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0005053/0.9093, allocations: 173.4 kB / 0.817 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.9094, allocations: 51.41 kB / 0.8171 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.9097, allocations: 182.9 kB / 0.8173 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.9097, allocations: 41.62 kB / 0.8173 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.9099, allocations: 124.4 kB / 0.8174 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.9099, allocations: 39.53 kB / 0.8175 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.91, allocations: 8 kB / 0.8175 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9101, allocations: 330.8 kB / 0.8178 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.9104, allocations: 64.56 kB / 0.8178 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.9108, allocations: 127.5 kB / 0.818 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.9111, allocations: 131.4 kB / 0.8181 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9111, allocations: 0 / 0.8181 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009467/0.9121, allocations: 332.7 kB / 0.8184 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.9122, allocations: 71.39 kB / 0.8185 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9122, allocations: 0 / 0.8185 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.9122, allocations: 4 kB / 0.8185 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.9124, allocations: 15.94 kB / 0.8185 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.9124, allocations: 7.984 kB / 0.8185 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.9127, allocations: 28 kB / 0.8185 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.9128, allocations: 15.98 kB / 0.8185 GB, free: 3.449 MB / 0.6355 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.0002105/0.913, allocations: 148 kB / 0.8187 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.9131, allocations: 15.81 kB / 0.8187 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.9135, allocations: 144.7 kB / 0.8188 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.9135, allocations: 4 kB / 0.8188 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9135, allocations: 0 / 0.8188 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9135, allocations: 4 kB / 0.8188 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008761/0.9144, allocations: 495.1 kB / 0.8193 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.9144, allocations: 4 kB / 0.8193 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.9145, allocations: 7.938 kB / 0.8193 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.9145, allocations: 0 / 0.8193 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.9146, allocations: 8 kB / 0.8193 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.9146, allocations: 7.938 kB / 0.8193 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9146, allocations: 3.984 kB / 0.8193 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.9149, allocations: 231.8 kB / 0.8196 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.915, allocations: 96.92 kB / 0.8197 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.9151, allocations: 0 / 0.8197 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.9152, allocations: 11.98 kB / 0.8197 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.9153, allocations: 23.97 kB / 0.8197 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.9154, allocations: 4 kB / 0.8197 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001733/0.9156, allocations: 145.5 kB / 0.8198 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.9156, allocations: 0 / 0.8198 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005218/0.9161, allocations: 55.78 kB / 0.8199 GB, free: 1.961 MB / 0.6355 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.0009829/0.9171, allocations: 0.8577 MB / 0.8207 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006224/0.9178, allocations: 254.5 kB / 0.821 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9178, allocations: 0 / 0.821 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.9179, allocations: 47.98 kB / 0.821 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.9184, allocations: 54.28 kB / 0.8211 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.9201, allocations: 1.522 MB / 0.8226 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.9205, allocations: 0.7323 MB / 0.8233 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.9206, allocations: 29.92 kB / 0.8233 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.9208, allocations: 55.42 kB / 0.8233 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/0.9208, allocations: 0 / 0.8233 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.9491, allocations: 4.915 MB / 0.8281 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.9495, allocations: 222 kB / 0.8284 GB, free: 9.277 MB / 0.6511 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_TimeSeries.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_6_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/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_TimeSeries_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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_TimeSeries_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1