Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.995/3.995, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.328e-05, allocations: 6.75 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 98.73 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/0.4846, allocations: 128.4 MB / 0.7556 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/0.4851, allocations: 79.94 kB / 0.7557 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07638/0.5615, allocations: 13.17 MB / 0.7686 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5615, allocations: 0 / 0.7686 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.237e-05/0.5616, allocations: 8 kB / 0.7686 GB, free: 8.191 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0013/0.5629, allocations: 0.5213 MB / 0.7691 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.563, allocations: 8.031 kB / 0.7691 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.563, allocations: 42.55 kB / 0.7691 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.634e-05/0.5632, allocations: 23.72 kB / 0.7691 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.5639, allocations: 254.6 kB / 0.7694 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.564, allocations: 12 kB / 0.7694 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.564, allocations: 23.88 kB / 0.7694 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.5643, allocations: 105.5 kB / 0.7695 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5644, allocations: 4 kB / 0.7695 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.5644, allocations: 7.984 kB / 0.7695 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.5644, allocations: 0 / 0.7695 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.5646, allocations: 51.98 kB / 0.7696 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5659, allocations: 0.5435 MB / 0.7701 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.5661, allocations: 97.09 kB / 0.7702 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5663, allocations: 41.77 kB / 0.7702 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.5663, allocations: 0 / 0.7702 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.5666, allocations: 121.1 kB / 0.7704 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.5666, allocations: 0 / 0.7704 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004537/0.5671, allocations: 129.6 kB / 0.7705 GB, free: 6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.5672, allocations: 89.03 kB / 0.7706 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.5674, allocations: 177.8 kB / 0.7707 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.5675, allocations: 33.7 kB / 0.7708 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.5677, allocations: 124.3 kB / 0.7709 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.5677, allocations: 27.69 kB / 0.7709 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.5677, allocations: 8 kB / 0.7709 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5679, allocations: 330.9 kB / 0.7712 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.568, allocations: 40.3 kB / 0.7713 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.5683, allocations: 122 kB / 0.7714 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.5685, allocations: 35.98 kB / 0.7714 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5685, allocations: 0 / 0.7714 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003969/0.5689, allocations: 157.2 kB / 0.7716 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5689, allocations: 4 kB / 0.7716 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5689, allocations: 160 / 0.7716 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.569, allocations: 11.95 kB / 0.7716 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.5692, allocations: 19.94 kB / 0.7716 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5692, allocations: 7.984 kB / 0.7716 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.5696, allocations: 27.92 kB / 0.7716 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.5696, allocations: 8.094 kB / 0.7717 GB, free: 4.711 MB / 0.6511 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 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0001473/0.5698, allocations: 126.7 kB / 0.7718 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.5698, allocations: 19.81 kB / 0.7718 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.5699, allocations: 21.64 kB / 0.7718 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5699, allocations: 3.953 kB / 0.7718 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5699, allocations: 0 / 0.7718 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.57, allocations: 8 kB / 0.7718 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.5709, allocations: 462.5 kB / 0.7723 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.571, allocations: 0 / 0.7723 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.571, allocations: 7.953 kB / 0.7723 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.571, allocations: 7.938 kB / 0.7723 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5711, allocations: 0 / 0.7723 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.5711, allocations: 3.938 kB / 0.7723 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5711, allocations: 7.938 kB / 0.7723 GB, free: 4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.5715, allocations: 253.8 kB / 0.7725 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.5717, allocations: 88.92 kB / 0.7726 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.5717, allocations: 7.984 kB / 0.7726 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.5719, allocations: 15.98 kB / 0.7726 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.572, allocations: 23.97 kB / 0.7727 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.5721, allocations: 4 kB / 0.7727 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001819/0.5723, allocations: 148.2 kB / 0.7728 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5723, allocations: 0 / 0.7728 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005219/0.5728, allocations: 40 kB / 0.7728 GB, free: 3.387 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulsStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001071/0.5739, allocations: 0.9209 MB / 0.7737 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.5742, allocations: 91.81 kB / 0.7738 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5743, allocations: 4 kB / 0.7738 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.5744, allocations: 55.92 kB / 0.7739 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.575, allocations: 41.81 kB / 0.7739 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.5759, allocations: 257.3 kB / 0.7742 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.5763, allocations: 0.7287 MB / 0.7749 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.5764, allocations: 21.53 kB / 0.7749 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5766, allocations: 59.41 kB / 0.775 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.5766, allocations: 0 / 0.775 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6038/1.18, allocations: 4.946 MB / 0.7798 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/1.181, allocations: 225.2 kB / 0.78 GB, free: 140.2 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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1