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.Scatter.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.Scatter,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01135/0.01135, allocations: 107 kB / 15.05 MB, free: 5.93 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.001149/0.001149, allocations: 186.5 kB / 15.94 MB, free: 5.895 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 1.883/1.883, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.215/2.215, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004751, allocations: 12 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.6535, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.8884, allocations: 127.7 MB / 0.8081 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/0.8889, allocations: 79.95 kB / 0.8082 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04341/0.9323, allocations: 6.176 MB / 0.8143 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.256e-06/0.9324, allocations: 0 / 0.8143 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.261e-05/0.9325, allocations: 0 / 0.8143 GB, free: 8.227 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001419/0.9339, allocations: 0.5422 MB / 0.8148 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.934, allocations: 12.03 kB / 0.8148 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.073e-05/0.9341, allocations: 34.56 kB / 0.8148 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.9342, allocations: 23.8 kB / 0.8148 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.9354, allocations: 250.7 kB / 0.8151 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.9354, allocations: 4.188 kB / 0.8151 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.9355, allocations: 16 kB / 0.8151 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.936, allocations: 103.1 kB / 0.8152 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.936, allocations: 0 / 0.8152 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.9361, allocations: 3.953 kB / 0.8152 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.9361, allocations: 4 kB / 0.8152 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.9364, allocations: 56.47 kB / 0.8153 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.9383, allocations: 477.5 kB / 0.8157 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.9387, allocations: 74.56 kB / 0.8158 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.9388, allocations: 7.984 kB / 0.8158 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.9391, allocations: 87.59 kB / 0.8159 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 4.318e-06/0.9392, allocations: 3.938 kB / 0.8159 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0007465/0.9399, allocations: 145.4 kB / 0.816 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.94, allocations: 55.41 kB / 0.8161 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.9404, allocations: 178 kB / 0.8163 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.027e-05/0.9405, allocations: 29.7 kB / 0.8163 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.9407, allocations: 124.5 kB / 0.8164 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.9408, allocations: 35.55 kB / 0.8164 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.9409, allocations: 0 / 0.8164 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.9411, allocations: 334.7 kB / 0.8168 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.9413, allocations: 27.98 kB / 0.8168 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.9419, allocations: 130.2 kB / 0.8169 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.9421, allocations: 39.27 kB / 0.8169 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.9422, allocations: 0 / 0.8169 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006217/0.9428, allocations: 146 kB / 0.8171 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.9428, allocations: 8 kB / 0.8171 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.9429, allocations: 4 kB / 0.8171 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.9429, allocations: 0 / 0.8171 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.9432, allocations: 19.94 kB / 0.8171 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.9432, allocations: 4 kB / 0.8171 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.9437, allocations: 23.84 kB / 0.8171 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.9438, allocations: 8 kB / 0.8171 GB, free: 5 MB / 0.6355 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.0003026/0.9441, allocations: 138.5 kB / 0.8173 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.9442, allocations: 15.81 kB / 0.8173 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.9447, allocations: 131.2 kB / 0.8174 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.9448, allocations: 7.984 kB / 0.8174 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9448, allocations: 0 / 0.8174 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9448, allocations: 0 / 0.8174 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.9461, allocations: 462.3 kB / 0.8179 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9461, allocations: 0 / 0.8179 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.9462, allocations: 11.98 kB / 0.8179 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.9463, allocations: 0 / 0.8179 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.9463, allocations: 4 kB / 0.8179 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.9463, allocations: 3.953 kB / 0.8179 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.9464, allocations: 11.88 kB / 0.8179 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.9469, allocations: 219.3 kB / 0.8181 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.947, allocations: 88.92 kB / 0.8182 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.947, allocations: 4 kB / 0.8182 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.9473, allocations: 11.98 kB / 0.8182 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.9475, allocations: 23.92 kB / 0.8182 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.9475, allocations: 4 kB / 0.8182 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002492/0.9478, allocations: 140.3 kB / 0.8184 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.963e-06/0.9478, allocations: 0 / 0.8184 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007882/0.9486, allocations: 47.94 kB / 0.8184 GB, free: 3.602 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: 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.001393/0.95, allocations: 0.834 MB / 0.8192 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.9505, allocations: 79.91 kB / 0.8193 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9505, allocations: 0 / 0.8193 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.9507, allocations: 47.92 kB / 0.8193 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.9514, allocations: 54.55 kB / 0.8194 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.9537, allocations: 1.342 MB / 0.8207 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.9542, allocations: 0.7283 MB / 0.8214 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.9544, allocations: 21.53 kB / 0.8214 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.9546, allocations: 51.42 kB / 0.8215 GB, free: 352 kB / 0.6355 GB Notification: Performance of SimCode: time 1.704e-06/0.9547, allocations: 0 / 0.8215 GB, free: 352 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.9845, allocations: 4.54 MB / 0.8259 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/0.9848, allocations: 227.9 kB / 0.8261 GB, free: 11.69 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_Scatter.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_6_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: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_Scatter_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1