Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.401/4.401, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.839e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2449, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8846/1.13, allocations: 135.4 MB / 0.8041 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.13, allocations: 80.75 kB / 0.8042 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0421/1.172, allocations: 8.424 MB / 0.8124 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.172, allocations: 0 / 0.8124 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.08e-05/1.172, allocations: 3.844 kB / 0.8124 GB, free: 12.01 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.0008504/1.173, allocations: 0.5242 MB / 0.8129 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.173, allocations: 11.69 kB / 0.8129 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/1.173, allocations: 41.45 kB / 0.813 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/1.173, allocations: 19.19 kB / 0.813 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/1.174, allocations: 248 kB / 0.8132 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/1.174, allocations: 7.812 kB / 0.8132 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/1.174, allocations: 15.47 kB / 0.8132 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/1.174, allocations: 90.05 kB / 0.8133 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.174, allocations: 0 / 0.8133 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/1.174, allocations: 6.328 kB / 0.8133 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.174, allocations: 4 kB / 0.8133 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/1.175, allocations: 47.97 kB / 0.8134 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/1.176, allocations: 476.2 kB / 0.8138 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/1.176, allocations: 145.7 kB / 0.814 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/1.176, allocations: 42.31 kB / 0.814 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/1.176, allocations: 4 kB / 0.814 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/1.177, allocations: 112.8 kB / 0.8141 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 5.771e-06/1.177, allocations: 3.984 kB / 0.8141 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.000359/1.177, allocations: 133.3 kB / 0.8143 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.177, allocations: 59.03 kB / 0.8143 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/1.177, allocations: 180.9 kB / 0.8145 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/1.177, allocations: 32.86 kB / 0.8145 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/1.177, allocations: 119.6 kB / 0.8146 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/1.177, allocations: 34.64 kB / 0.8147 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/1.177, allocations: 3.938 kB / 0.8147 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/1.178, allocations: 331 kB / 0.815 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/1.178, allocations: 33.34 kB / 0.815 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/1.178, allocations: 120 kB / 0.8151 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.907e-05/1.178, allocations: 42.72 kB / 0.8152 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.178, allocations: 0 / 0.8152 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003085/1.178, allocations: 148.6 kB / 0.8153 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.178, allocations: 7.531 kB / 0.8153 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.178, allocations: 0 / 0.8153 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.178, allocations: 6.953 kB / 0.8153 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.179, allocations: 15.25 kB / 0.8153 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.179, allocations: 0 / 0.8153 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/1.179, allocations: 28.84 kB / 0.8154 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.179, allocations: 7.062 kB / 0.8154 GB, free: 10.05 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.pulseStart,booPul.pulseStart) * Number of discrete 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.000103/1.179, allocations: 121 kB / 0.8155 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/1.179, allocations: 23.05 kB / 0.8155 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/1.179, allocations: 30.8 kB / 0.8155 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.179, allocations: 3.719 kB / 0.8156 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.179, allocations: 0 / 0.8156 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.179, allocations: 0 / 0.8156 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/1.18, allocations: 0.494 MB / 0.816 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.18, allocations: 4 kB / 0.816 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/1.18, allocations: 7.781 kB / 0.816 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.18, allocations: 0 / 0.816 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.18, allocations: 2.812 kB / 0.816 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.18, allocations: 0 / 0.816 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.18, allocations: 3.938 kB / 0.8161 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/1.181, allocations: 231.8 kB / 0.8163 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/1.181, allocations: 99.05 kB / 0.8164 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/1.181, allocations: 0 / 0.8164 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.181, allocations: 20.8 kB / 0.8164 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/1.181, allocations: 19.34 kB / 0.8164 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/1.181, allocations: 10.2 kB / 0.8164 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001319/1.181, allocations: 136.8 kB / 0.8165 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.181, allocations: 4 kB / 0.8166 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004939/1.182, allocations: 53.14 kB / 0.8166 GB, free: 9.246 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.pulseStart) * Number of discrete 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.001286/1.183, allocations: 0.8323 MB / 0.8174 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003306/1.183, allocations: 95.27 kB / 0.8175 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.183, allocations: 256 / 0.8175 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/1.184, allocations: 57.12 kB / 0.8176 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/1.184, allocations: 42.83 kB / 0.8176 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/1.185, allocations: 257.6 kB / 0.8178 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.185, allocations: 0.7264 MB / 0.8186 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001252/1.185, allocations: 28.8 kB / 0.8186 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.186, allocations: 51.91 kB / 0.8186 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/1.186, allocations: 0 / 0.8186 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/1.211, allocations: 5.004 MB / 0.8235 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.211, allocations: 234.6 kB / 0.8237 GB, free: 21.93 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_Validation_PlotterActivationGlobalInputFirstOff.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_Validation_PlotterActivationGlobalInputFirstOff_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1