Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.095/4.095, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.389e-05, allocations: 3.172 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2401, allocations: 98.72 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/0.4861, allocations: 128.4 MB / 0.7556 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.4865, allocations: 79.95 kB / 0.7556 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03728/0.5238, allocations: 8.372 MB / 0.7638 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5238, allocations: 4 kB / 0.7638 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.5239, allocations: 7.938 kB / 0.7638 GB, free: 13.09 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001009/0.5249, allocations: 0.5212 MB / 0.7643 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.525, allocations: 16.03 kB / 0.7644 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.525, allocations: 34.56 kB / 0.7644 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.5251, allocations: 19.81 kB / 0.7644 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.5259, allocations: 258.6 kB / 0.7647 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.5259, allocations: 12 kB / 0.7647 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.526, allocations: 16 kB / 0.7647 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.5263, allocations: 87.33 kB / 0.7648 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5263, allocations: 4 kB / 0.7648 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.5263, allocations: 4 kB / 0.7648 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5263, allocations: 0 / 0.7648 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.5265, allocations: 59.92 kB / 0.7648 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.5277, allocations: 464.5 kB / 0.7653 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.5284, allocations: 154.7 kB / 0.7654 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.5285, allocations: 33.03 kB / 0.7654 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5286, allocations: 7.953 kB / 0.7655 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.5288, allocations: 111.1 kB / 0.7656 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.5289, allocations: 4 kB / 0.7656 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.000398/0.5293, allocations: 125.4 kB / 0.7657 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.5293, allocations: 63.39 kB / 0.7657 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.5296, allocations: 173.8 kB / 0.7659 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.5297, allocations: 33.7 kB / 0.7659 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5298, allocations: 124.4 kB / 0.7661 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.5299, allocations: 31.61 kB / 0.7661 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.5299, allocations: 4 kB / 0.7661 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.53, allocations: 334.8 kB / 0.7664 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.5302, allocations: 32.31 kB / 0.7664 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.5305, allocations: 122.5 kB / 0.7666 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.5306, allocations: 42.89 kB / 0.7666 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5306, allocations: 0 / 0.7666 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003592/0.531, allocations: 141.3 kB / 0.7667 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.531, allocations: 7.953 kB / 0.7667 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.531, allocations: 224 / 0.7667 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5311, allocations: 4 kB / 0.7668 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5312, allocations: 27.86 kB / 0.7668 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5312, allocations: 8.125 kB / 0.7668 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.5316, allocations: 27.83 kB / 0.7668 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.5317, allocations: 8 kB / 0.7668 GB, free: 9.758 MB / 0.6511 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 () * 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.0001287/0.5318, allocations: 122.7 kB / 0.7669 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.5318, allocations: 15.81 kB / 0.767 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.5319, allocations: 25.61 kB / 0.767 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5319, allocations: 4 kB / 0.767 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.532, allocations: 4 kB / 0.767 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.532, allocations: 3.984 kB / 0.767 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.533, allocations: 498.2 kB / 0.7675 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.533, allocations: 48 / 0.7675 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.5331, allocations: 7.984 kB / 0.7675 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5331, allocations: 4 kB / 0.7675 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.5331, allocations: 4 kB / 0.7675 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5331, allocations: 0 / 0.7675 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5332, allocations: 3.984 kB / 0.7675 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.5335, allocations: 223.2 kB / 0.7677 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.5336, allocations: 104.8 kB / 0.7678 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.5336, allocations: 4 kB / 0.7678 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.5339, allocations: 15.98 kB / 0.7678 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.534, allocations: 19.97 kB / 0.7678 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.534, allocations: 7.984 kB / 0.7678 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001689/0.5342, allocations: 140.3 kB / 0.768 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/0.5342, allocations: 0 / 0.768 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004981/0.5347, allocations: 51.98 kB / 0.768 GB, free: 8.43 MB / 0.6511 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 () * 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.001019/0.5358, allocations: 0.8452 MB / 0.7688 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.5361, allocations: 95.86 kB / 0.7689 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.5362, allocations: 4 kB / 0.7689 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.5363, allocations: 56.12 kB / 0.769 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.5369, allocations: 48.12 kB / 0.769 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.5378, allocations: 253.3 kB / 0.7693 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.5382, allocations: 0.7246 MB / 0.77 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.5383, allocations: 25.53 kB / 0.77 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.5385, allocations: 51.42 kB / 0.7701 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/0.5385, allocations: 0 / 0.7701 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.5676, allocations: 5.004 MB / 0.775 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.568, allocations: 233.9 kB / 0.7752 GB, free: 1.148 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_PlotterActivationGlobalInputFirstOff.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_6_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1