Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01375/0.01375, allocations: 88.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001178/0.001178, allocations: 168.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.088/2.088, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.36/2.36, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006553, allocations: 14.72 kB / 0.6243 GB, free: 21.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2451, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002919/0.248, allocations: 1.532 MB / 0.7295 GB, free: 6.59 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2498, allocations: 0.6277 MB / 0.7302 GB, free: 5.961 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.25, allocations: 0 / 0.7302 GB, free: 5.961 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.2502, allocations: 23.8 kB / 0.7302 GB, free: 5.938 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.2509, allocations: 115.7 kB / 0.7303 GB, free: 5.824 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.2518, allocations: 143.7 kB / 0.7304 GB, free: 5.684 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.2523, allocations: 135.8 kB / 0.7306 GB, free: 5.551 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.2526, allocations: 33.64 kB / 0.7306 GB, free: 5.516 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.2529, allocations: 99.66 kB / 0.7307 GB, free: 5.418 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003856/0.2567, allocations: 0.8623 MB / 0.7315 GB, free: 4.555 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.2569, allocations: 8 kB / 0.7315 GB, free: 4.547 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.2572, allocations: 15.94 kB / 0.7316 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2573, allocations: 39.83 kB / 0.7316 GB, free: 4.492 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2575, allocations: 57.62 kB / 0.7316 GB, free: 4.43 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.258, allocations: 140 kB / 0.7318 GB, free: 4.293 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.258, allocations: 0 / 0.7318 GB, free: 4.293 MB / 0.5574 GB Notification: Performance of FrontEnd: time 6.181e-06/0.2581, allocations: 4 kB / 0.7318 GB, free: 4.289 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2581, allocations: 0 / 0.7318 GB, free: 4.289 MB / 0.5574 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.001421/0.2595, allocations: 0.5175 MB / 0.7323 GB, free: 3.711 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.2596, allocations: 8.031 kB / 0.7323 GB, free: 3.703 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/0.2597, allocations: 50.55 kB / 0.7323 GB, free: 3.645 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.2598, allocations: 19.81 kB / 0.7324 GB, free: 3.625 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.2605, allocations: 242.6 kB / 0.7326 GB, free: 3.348 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.2606, allocations: 8 kB / 0.7326 GB, free: 3.34 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2607, allocations: 23.98 kB / 0.7326 GB, free: 3.316 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.2613, allocations: 111.6 kB / 0.7327 GB, free: 3.203 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2613, allocations: 0 / 0.7327 GB, free: 3.203 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.2614, allocations: 7.953 kB / 0.7327 GB, free: 3.195 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.2614, allocations: 4 kB / 0.7327 GB, free: 3.191 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.2618, allocations: 55.97 kB / 0.7328 GB, free: 3.137 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.2637, allocations: 0.4923 MB / 0.7333 GB, free: 2.594 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.2641, allocations: 114.7 kB / 0.7334 GB, free: 2.473 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2642, allocations: 0 / 0.7334 GB, free: 2.473 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2644, allocations: 103.3 kB / 0.7335 GB, free: 2.359 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/0.2644, allocations: 0 / 0.7335 GB, free: 2.359 MB / 0.5574 GB Notification: Performance of matching and sorting (n=16): time 0.0005404/0.265, allocations: 172.1 kB / 0.7337 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.2651, allocations: 55.41 kB / 0.7337 GB, free: 2.121 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.2654, allocations: 211.6 kB / 0.7339 GB, free: 1.902 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.2655, allocations: 33.7 kB / 0.7339 GB, free: 1.863 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2656, allocations: 124.5 kB / 0.7341 GB, free: 1.734 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.2657, allocations: 39.45 kB / 0.7341 GB, free: 1.695 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.2657, allocations: 4 kB / 0.7341 GB, free: 1.691 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2659, allocations: 334.8 kB / 0.7344 GB, free: 1.355 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2662, allocations: 63.95 kB / 0.7345 GB, free: 1.293 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.2666, allocations: 131.7 kB / 0.7346 GB, free: 1.137 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.2669, allocations: 131.3 kB / 0.7347 GB, free: 0.9961 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2669, allocations: 0 / 0.7347 GB, free: 0.9961 MB / 0.5574 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009969/0.2679, allocations: 328.9 kB / 0.735 GB, free: 0.6562 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.268, allocations: 70.52 kB / 0.7351 GB, free: 0.5781 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2681, allocations: 4 kB / 0.7351 GB, free: 0.5742 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2681, allocations: 0 / 0.7351 GB, free: 0.5742 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2683, allocations: 23.92 kB / 0.7351 GB, free: 0.5508 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2683, allocations: 4 kB / 0.7351 GB, free: 0.5469 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.2686, allocations: 27.98 kB / 0.7352 GB, free: 0.5195 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2687, allocations: 15.98 kB / 0.7352 GB, free: 0.5039 MB / 0.5574 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.0002286/0.2689, allocations: 144 kB / 0.7353 GB, free: 364 kB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.269, allocations: 23.73 kB / 0.7353 GB, free: 340 kB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.2694, allocations: 147.4 kB / 0.7355 GB, free: 188 kB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2694, allocations: 4 kB / 0.7355 GB, free: 184 kB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2695, allocations: 0 / 0.7355 GB, free: 184 kB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2695, allocations: 3.938 kB / 0.7355 GB, free: 180 kB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009902/0.2705, allocations: 498.2 kB / 0.736 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2705, allocations: 0 / 0.736 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.2706, allocations: 11.94 kB / 0.736 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.2706, allocations: 3.938 kB / 0.736 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2706, allocations: 0 / 0.736 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.2707, allocations: 4 kB / 0.736 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2707, allocations: 0 / 0.736 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2711, allocations: 245.8 kB / 0.7362 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.2712, allocations: 92.86 kB / 0.7363 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2712, allocations: 12 kB / 0.7363 GB, free: 15.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2714, allocations: 11.98 kB / 0.7363 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.2715, allocations: 19.97 kB / 0.7363 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.2716, allocations: 4 kB / 0.7364 GB, free: 15.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002033/0.2718, allocations: 152.2 kB / 0.7365 GB, free: 15.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2718, allocations: 0 / 0.7365 GB, free: 15.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005582/0.2724, allocations: 47.89 kB / 0.7365 GB, free: 15.01 MB / 0.573 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.001091/0.2735, allocations: 0.8326 MB / 0.7374 GB, free: 14.17 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006843/0.2742, allocations: 254.8 kB / 0.7376 GB, free: 13.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2742, allocations: 8.062 kB / 0.7376 GB, free: 13.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.2744, allocations: 45.05 kB / 0.7376 GB, free: 13.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.2749, allocations: 55.89 kB / 0.7377 GB, free: 13.79 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.2769, allocations: 1.51 MB / 0.7392 GB, free: 12.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2773, allocations: 0.7284 MB / 0.7399 GB, free: 11.45 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.2775, allocations: 25.94 kB / 0.7399 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.2777, allocations: 63.34 kB / 0.74 GB, free: 11.36 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/0.2777, allocations: 0 / 0.74 GB, free: 11.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09409/0.3718, allocations: 4.962 MB / 0.7448 GB, free: 6.531 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.3721, allocations: 228.6 kB / 0.745 GB, free: 6.289 MB / 0.573 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 7.0.0/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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 7.0.0/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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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_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