Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.346/4.346, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.725e-05, allocations: 0 / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8717/1.122, allocations: 134.2 MB / 0.803 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.123, allocations: 72.73 kB / 0.8031 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02673/1.149, allocations: 6.727 MB / 0.8096 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.15, allocations: 0 / 0.8096 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.15, allocations: 3.719 kB / 0.8096 GB, free: 12.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000687/1.15, allocations: 0.4943 MB / 0.8101 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.15, allocations: 11 kB / 0.8101 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/1.15, allocations: 37.08 kB / 0.8102 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/1.15, allocations: 18.88 kB / 0.8102 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/1.151, allocations: 245.5 kB / 0.8104 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/1.151, allocations: 13.88 kB / 0.8104 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/1.151, allocations: 7.688 kB / 0.8104 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/1.151, allocations: 76.47 kB / 0.8105 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.151, allocations: 3.953 kB / 0.8105 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.151, allocations: 14.53 kB / 0.8105 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.151, allocations: 0 / 0.8105 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/1.152, allocations: 40.66 kB / 0.8106 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/1.153, allocations: 450.4 kB / 0.811 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/1.153, allocations: 61.34 kB / 0.8111 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/1.153, allocations: 26.89 kB / 0.8111 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/1.153, allocations: 4.125 kB / 0.8111 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/1.153, allocations: 91.16 kB / 0.8112 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/1.153, allocations: 0 / 0.8112 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0002762/1.153, allocations: 103.1 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/1.153, allocations: 51.41 kB / 0.8113 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/1.154, allocations: 168.7 kB / 0.8115 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/1.154, allocations: 38.64 kB / 0.8115 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/1.154, allocations: 109.1 kB / 0.8116 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/1.154, allocations: 28.81 kB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.154, allocations: 7.188 kB / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/1.154, allocations: 325.8 kB / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/1.154, allocations: 30.06 kB / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/1.154, allocations: 111.7 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.811e-05/1.154, allocations: 36.91 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.154, allocations: 7.75 kB / 0.8122 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002768/1.155, allocations: 126.4 kB / 0.8123 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.155, allocations: 7.812 kB / 0.8123 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.155, allocations: 4 kB / 0.8123 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.155, allocations: 10.78 kB / 0.8123 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.155, allocations: 7.688 kB / 0.8123 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.155, allocations: 3.844 kB / 0.8123 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/1.155, allocations: 28.19 kB / 0.8123 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.155, allocations: 7.812 kB / 0.8123 GB, free: 10.09 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: 15 ($whenCondition3,$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,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.353e-05/1.155, allocations: 122.7 kB / 0.8125 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/1.155, allocations: 15.44 kB / 0.8125 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/1.155, allocations: 23.67 kB / 0.8125 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.155, allocations: 0 / 0.8125 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.155, allocations: 0 / 0.8125 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.155, allocations: 0 / 0.8125 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/1.156, allocations: 439.4 kB / 0.8129 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.156, allocations: 0 / 0.8129 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/1.156, allocations: 10.55 kB / 0.8129 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.156, allocations: 0 / 0.8129 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.156, allocations: 0 / 0.8129 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.156, allocations: 0 / 0.8129 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.156, allocations: 0 / 0.8129 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/1.156, allocations: 209.1 kB / 0.8131 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/1.156, allocations: 95.47 kB / 0.8132 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/1.156, allocations: 0 / 0.8132 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.157, allocations: 14.59 kB / 0.8132 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/1.157, allocations: 16.94 kB / 0.8132 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/1.157, allocations: 6.516 kB / 0.8133 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001184/1.157, allocations: 130.8 kB / 0.8134 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.157, allocations: 3.812 kB / 0.8134 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004026/1.157, allocations: 41.59 kB / 0.8134 GB, free: 9.309 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 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.001152/1.158, allocations: 0.8068 MB / 0.8142 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000268/1.159, allocations: 77.81 kB / 0.8143 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.159, allocations: 0 / 0.8143 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/1.159, allocations: 33.47 kB / 0.8143 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/1.159, allocations: 46.48 kB / 0.8144 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/1.16, allocations: 251.5 kB / 0.8146 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.16, allocations: 0.7162 MB / 0.8153 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.374e-05/1.161, allocations: 18.67 kB / 0.8153 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/1.161, allocations: 48.86 kB / 0.8154 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/1.161, allocations: 0 / 0.8154 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/1.194, allocations: 4.493 MB / 0.8197 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.194, allocations: 213.7 kB / 0.82 GB, free: 22.99 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_PlotterActivationAlwaysOn.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o] Error 1