Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.01118/0.01118, allocations: 107.4 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.001084/0.001084, allocations: 182.2 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 1.968/1.968, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.189/2.189, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007072/0.0007073, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7066, allocations: 98.71 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.9377, allocations: 128.4 MB / 0.8088 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.938, allocations: 83.94 kB / 0.8089 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03368/0.9717, allocations: 7.854 MB / 0.8166 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9718, allocations: 4 kB / 0.8166 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.9718, allocations: 4 kB / 0.8166 GB, free: 5.805 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001085/0.9729, allocations: 0.5491 MB / 0.8171 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.973, allocations: 12.03 kB / 0.8171 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.973, allocations: 50.55 kB / 0.8172 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.9731, allocations: 19.81 kB / 0.8172 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/0.9738, allocations: 254.7 kB / 0.8174 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.9739, allocations: 8 kB / 0.8174 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.9739, allocations: 15.94 kB / 0.8175 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.9742, allocations: 97.59 kB / 0.8175 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9742, allocations: 0 / 0.8175 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.9743, allocations: 0 / 0.8175 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.9743, allocations: 7.984 kB / 0.8176 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.9745, allocations: 55.97 kB / 0.8176 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.9756, allocations: 468.4 kB / 0.8181 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.9763, allocations: 158.8 kB / 0.8182 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.9764, allocations: 4 kB / 0.8182 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.9766, allocations: 104.7 kB / 0.8183 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.9766, allocations: 0 / 0.8183 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004785/0.9771, allocations: 171.2 kB / 0.8185 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.9772, allocations: 55.41 kB / 0.8185 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.9775, allocations: 181.7 kB / 0.8187 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.9775, allocations: 29.7 kB / 0.8187 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.9777, allocations: 120.5 kB / 0.8188 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.9777, allocations: 43.44 kB / 0.8189 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.9777, allocations: 0 / 0.8189 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9779, allocations: 326.8 kB / 0.8192 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.978, allocations: 36.36 kB / 0.8192 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.9784, allocations: 126.3 kB / 0.8194 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.9785, allocations: 40.86 kB / 0.8194 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9785, allocations: 4 kB / 0.8194 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003678/0.9789, allocations: 157.3 kB / 0.8195 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9789, allocations: 5.562 kB / 0.8195 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.979, allocations: 0 / 0.8195 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.979, allocations: 4 kB / 0.8196 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9791, allocations: 20.16 kB / 0.8196 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.9791, allocations: 0 / 0.8196 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.9795, allocations: 36.03 kB / 0.8196 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.9795, allocations: 8 kB / 0.8196 GB, free: 2.426 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulsStart,booPul.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001705/0.9797, allocations: 135.5 kB / 0.8197 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.9798, allocations: 23.67 kB / 0.8198 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.9798, allocations: 21.86 kB / 0.8198 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9798, allocations: 0 / 0.8198 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.9799, allocations: 4 kB / 0.8198 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9799, allocations: 0 / 0.8198 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.9809, allocations: 0.4904 MB / 0.8203 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9809, allocations: 0 / 0.8203 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.981, allocations: 11.98 kB / 0.8203 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.981, allocations: 0 / 0.8203 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.981, allocations: 4 kB / 0.8203 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.981, allocations: 4 kB / 0.8203 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.981, allocations: 0 / 0.8203 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.9814, allocations: 232.8 kB / 0.8205 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.9815, allocations: 104.9 kB / 0.8206 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.9815, allocations: 3.984 kB / 0.8206 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.9817, allocations: 19.98 kB / 0.8206 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.9818, allocations: 19.97 kB / 0.8207 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.9819, allocations: 8 kB / 0.8207 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001633/0.9821, allocations: 140.2 kB / 0.8208 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9821, allocations: 0 / 0.8208 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000446/0.9825, allocations: 55.86 kB / 0.8208 GB, free: 1.066 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001002/0.9836, allocations: 0.8525 MB / 0.8217 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.9839, allocations: 98.7 kB / 0.8218 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9839, allocations: 0 / 0.8218 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.9841, allocations: 51.92 kB / 0.8218 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.9846, allocations: 54.12 kB / 0.8219 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.9861, allocations: 1.199 MB / 0.823 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.9865, allocations: 0.7206 MB / 0.8237 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.9867, allocations: 29.52 kB / 0.8238 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.9868, allocations: 51.42 kB / 0.8238 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of SimCode: time 6.92e-07/0.9868, allocations: 0 / 0.8238 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/1.08, allocations: 4.957 MB / 0.8287 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/1.08, allocations: 252.8 kB / 0.8289 GB, free: 8.773 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_Validation_PlotterActivationGlobalInput.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_Validation_PlotterActivationGlobalInput_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_Validation_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_Validation_PlotterActivationGlobalInput_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1