Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.233/4.233, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.753e-05/4.771e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8594/1.101, allocations: 134.6 MB / 0.8093 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.101, allocations: 78.12 kB / 0.8094 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02688/1.128, allocations: 6.712 MB / 0.8159 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.076e-06/1.128, allocations: 2.578 kB / 0.8159 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.878e-05/1.128, allocations: 3.844 kB / 0.8159 GB, free: 11.41 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.00073/1.129, allocations: 0.4897 MB / 0.8164 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.129, allocations: 11.69 kB / 0.8164 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/1.129, allocations: 33.75 kB / 0.8165 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/1.129, allocations: 29.86 kB / 0.8165 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/1.13, allocations: 251.3 kB / 0.8167 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.13, allocations: 10.52 kB / 0.8167 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/1.13, allocations: 14.31 kB / 0.8167 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/1.13, allocations: 79.41 kB / 0.8168 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.13, allocations: 0 / 0.8168 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/1.13, allocations: 6.219 kB / 0.8168 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.13, allocations: 0 / 0.8168 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/1.131, allocations: 44.36 kB / 0.8169 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/1.132, allocations: 449.8 kB / 0.8173 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.132, allocations: 70.36 kB / 0.8174 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/1.132, allocations: 34.38 kB / 0.8174 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/1.132, allocations: 0 / 0.8174 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/1.132, allocations: 82.89 kB / 0.8175 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.324e-06/1.132, allocations: 3.938 kB / 0.8175 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0002931/1.132, allocations: 106 kB / 0.8176 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/1.132, allocations: 62.47 kB / 0.8176 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/1.133, allocations: 161.2 kB / 0.8178 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/1.133, allocations: 33.27 kB / 0.8178 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/1.133, allocations: 114 kB / 0.8179 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/1.133, allocations: 22.91 kB / 0.818 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/1.133, allocations: 3.062 kB / 0.818 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/1.133, allocations: 326.8 kB / 0.8183 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/1.133, allocations: 26.66 kB / 0.8183 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/1.133, allocations: 116.6 kB / 0.8184 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/1.133, allocations: 41.38 kB / 0.8185 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.133, allocations: 0 / 0.8185 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000269/1.134, allocations: 128.7 kB / 0.8186 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.134, allocations: 7.656 kB / 0.8186 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.134, allocations: 0 / 0.8186 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.134, allocations: 3.812 kB / 0.8186 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.134, allocations: 18.17 kB / 0.8186 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.134, allocations: 3.969 kB / 0.8186 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/1.134, allocations: 25.88 kB / 0.8186 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/1.134, allocations: 3.875 kB / 0.8186 GB, free: 9.465 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.241e-05/1.134, allocations: 118.9 kB / 0.8187 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/1.134, allocations: 22.06 kB / 0.8188 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/1.134, allocations: 16.12 kB / 0.8188 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.134, allocations: 0 / 0.8188 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.134, allocations: 0 / 0.8188 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.135, allocations: 2.812 kB / 0.8188 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/1.135, allocations: 437 kB / 0.8192 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.135, allocations: 0 / 0.8192 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/1.135, allocations: 3.812 kB / 0.8192 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/1.135, allocations: 3.844 kB / 0.8192 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.135, allocations: 2.812 kB / 0.8192 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.135, allocations: 7.922 kB / 0.8192 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.135, allocations: 4 kB / 0.8192 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/1.136, allocations: 202 kB / 0.8194 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/1.136, allocations: 88.8 kB / 0.8195 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/1.136, allocations: 6.109 kB / 0.8195 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.136, allocations: 14.64 kB / 0.8195 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/1.136, allocations: 16.86 kB / 0.8195 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/1.136, allocations: 7.812 kB / 0.8195 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001245/1.136, allocations: 134.3 kB / 0.8197 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.9e-07/1.136, allocations: 0 / 0.8197 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004519/1.137, allocations: 48.91 kB / 0.8197 GB, free: 8.68 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.001237/1.138, allocations: 0.8064 MB / 0.8205 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003039/1.138, allocations: 80.88 kB / 0.8206 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.138, allocations: 3.875 kB / 0.8206 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/1.138, allocations: 39.81 kB / 0.8206 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/1.139, allocations: 39.06 kB / 0.8207 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/1.14, allocations: 229.9 kB / 0.8209 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/1.14, allocations: 0.7276 MB / 0.8216 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001233/1.14, allocations: 18.31 kB / 0.8216 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.14, allocations: 42.72 kB / 0.8217 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.14, allocations: 0 / 0.8217 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/1.168, allocations: 4.489 MB / 0.826 GB, free: 21.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.169, allocations: 212.9 kB / 0.8262 GB, free: 21.54 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o] Error 1