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.Scatter.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.Scatter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter",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.01049/0.01049, allocations: 84.5 kB / 15.04 MB, free: 6.062 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.001141/0.001141, allocations: 171.4 kB / 15.92 MB, free: 6 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.282/2.282, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.29/2.29, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006359, allocations: 8.75 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2402, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002812/0.2431, allocations: 1.533 MB / 0.7296 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2448, allocations: 0.6008 MB / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.245, allocations: 3.938 kB / 0.7301 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.2452, allocations: 31.77 kB / 0.7302 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004594/0.2457, allocations: 99.75 kB / 0.7303 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.2462, allocations: 143.6 kB / 0.7304 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.2466, allocations: 127.8 kB / 0.7305 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2468, allocations: 33.52 kB / 0.7306 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.247, allocations: 87.67 kB / 0.7306 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.2491, allocations: 0.8194 MB / 0.7314 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.2492, allocations: 8 kB / 0.7314 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2494, allocations: 23.94 kB / 0.7315 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.2495, allocations: 31.89 kB / 0.7315 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.98e-05/0.2496, allocations: 49.64 kB / 0.7315 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.2499, allocations: 132 kB / 0.7317 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2499, allocations: 0 / 0.7317 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2499, allocations: 3.938 kB / 0.7317 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2499, allocations: 0 / 0.7317 GB, free: 6.426 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000908/0.2508, allocations: 0.51 MB / 0.7322 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.245e-05/0.2509, allocations: 8.031 kB / 0.7322 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.251, allocations: 42.52 kB / 0.7322 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.2511, allocations: 23.72 kB / 0.7322 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.2515, allocations: 231.8 kB / 0.7325 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2515, allocations: 12.19 kB / 0.7325 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.2516, allocations: 12 kB / 0.7325 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.2518, allocations: 101.6 kB / 0.7326 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2519, allocations: 7.938 kB / 0.7326 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.2519, allocations: 0 / 0.7326 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.2519, allocations: 7.953 kB / 0.7326 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.2521, allocations: 52.53 kB / 0.7327 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2533, allocations: 484.2 kB / 0.7331 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2535, allocations: 82.55 kB / 0.7332 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.2536, allocations: 7.922 kB / 0.7332 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.2538, allocations: 95.38 kB / 0.7333 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/0.2539, allocations: 0 / 0.7333 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.00044/0.2543, allocations: 141.5 kB / 0.7334 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2544, allocations: 59.39 kB / 0.7335 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.2546, allocations: 186.3 kB / 0.7337 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.2547, allocations: 33.7 kB / 0.7337 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2548, allocations: 124.3 kB / 0.7338 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.2549, allocations: 39.48 kB / 0.7339 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.2549, allocations: 8 kB / 0.7339 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2551, allocations: 326.8 kB / 0.7342 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.2552, allocations: 31.98 kB / 0.7342 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.2555, allocations: 116.5 kB / 0.7343 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.2557, allocations: 40.44 kB / 0.7344 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2557, allocations: 224 / 0.7344 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003784/0.2561, allocations: 157.3 kB / 0.7345 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2561, allocations: 15.22 kB / 0.7345 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2561, allocations: 4 kB / 0.7345 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2561, allocations: 4 kB / 0.7345 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2563, allocations: 12 kB / 0.7345 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2563, allocations: 3.984 kB / 0.7345 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.2567, allocations: 23.84 kB / 0.7346 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2567, allocations: 15.89 kB / 0.7346 GB, free: 3.191 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001862/0.2569, allocations: 137.9 kB / 0.7347 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.2569, allocations: 19.81 kB / 0.7347 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.2573, allocations: 127.1 kB / 0.7348 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2573, allocations: 0 / 0.7348 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2573, allocations: 0 / 0.7348 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2573, allocations: 0 / 0.7348 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/0.2582, allocations: 470.2 kB / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2582, allocations: 0 / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.2582, allocations: 4 kB / 0.7353 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2583, allocations: 0 / 0.7353 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2583, allocations: 7.938 kB / 0.7353 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2583, allocations: 0 / 0.7353 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2583, allocations: 3.953 kB / 0.7353 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.2586, allocations: 219.3 kB / 0.7355 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.2587, allocations: 104.8 kB / 0.7356 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.2588, allocations: 0 / 0.7356 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.259, allocations: 15.98 kB / 0.7356 GB, free: 2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.2591, allocations: 15.94 kB / 0.7357 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.2591, allocations: 11.98 kB / 0.7357 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001706/0.2593, allocations: 135.1 kB / 0.7358 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2593, allocations: 0 / 0.7358 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000458/0.2598, allocations: 39.98 kB / 0.7358 GB, free: 1.801 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0009203/0.2607, allocations: 0.8264 MB / 0.7366 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.2611, allocations: 87.89 kB / 0.7367 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2611, allocations: 0 / 0.7367 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.2612, allocations: 43.92 kB / 0.7368 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.2617, allocations: 42.69 kB / 0.7368 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2633, allocations: 1.33 MB / 0.7381 GB, free: 15.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.2637, allocations: 0.7244 MB / 0.7388 GB, free: 14.65 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.2638, allocations: 25.55 kB / 0.7388 GB, free: 14.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.264, allocations: 59.28 kB / 0.7389 GB, free: 14.57 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/0.264, allocations: 4 kB / 0.7389 GB, free: 14.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.3009, allocations: 4.574 MB / 0.7434 GB, free: 10.12 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/0.3013, allocations: 228 kB / 0.7436 GB, free: 9.879 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_Scatter.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1