Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.302/4.302, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.365e-05, allocations: 5.875 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.915/1.159, allocations: 135.8 MB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.159, allocations: 81.16 kB / 0.8105 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03322/1.192, allocations: 8.409 MB / 0.8187 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/1.192, allocations: 0 / 0.8187 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.912e-05/1.192, allocations: 3.875 kB / 0.8187 GB, free: 11.27 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.0008097/1.193, allocations: 0.5288 MB / 0.8192 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.193, allocations: 7.656 kB / 0.8192 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/1.193, allocations: 40.95 kB / 0.8193 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/1.193, allocations: 23.3 kB / 0.8193 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/1.194, allocations: 253.4 kB / 0.8195 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.194, allocations: 11.31 kB / 0.8195 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/1.194, allocations: 15.34 kB / 0.8195 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/1.194, allocations: 92.98 kB / 0.8196 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.194, allocations: 0 / 0.8196 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.194, allocations: 3.75 kB / 0.8196 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/1.194, allocations: 3.969 kB / 0.8196 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/1.195, allocations: 47.58 kB / 0.8197 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009831/1.196, allocations: 471.6 kB / 0.8201 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/1.196, allocations: 157.6 kB / 0.8203 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/1.196, allocations: 34.64 kB / 0.8203 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.196, allocations: 10 kB / 0.8203 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/1.197, allocations: 103.8 kB / 0.8204 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/1.197, allocations: 0 / 0.8204 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003564/1.197, allocations: 138.5 kB / 0.8206 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.197, allocations: 67.34 kB / 0.8206 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.197, allocations: 174.9 kB / 0.8208 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/1.197, allocations: 33.11 kB / 0.8208 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/1.197, allocations: 122 kB / 0.8209 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/1.197, allocations: 36.36 kB / 0.821 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/1.197, allocations: 3.5 kB / 0.821 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/1.198, allocations: 326.8 kB / 0.8213 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/1.198, allocations: 36.3 kB / 0.8213 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/1.198, allocations: 122.6 kB / 0.8214 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/1.198, allocations: 33.58 kB / 0.8215 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.198, allocations: 4 kB / 0.8215 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003061/1.198, allocations: 148.8 kB / 0.8216 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.198, allocations: 6.094 kB / 0.8216 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.198, allocations: 3.875 kB / 0.8216 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.198, allocations: 0 / 0.8216 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.199, allocations: 21.61 kB / 0.8216 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.199, allocations: 3.969 kB / 0.8216 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/1.199, allocations: 31.59 kB / 0.8217 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/1.199, allocations: 7.375 kB / 0.8217 GB, free: 9.285 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 9.804e-05/1.199, allocations: 117.8 kB / 0.8218 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/1.199, allocations: 21.41 kB / 0.8218 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/1.199, allocations: 22.14 kB / 0.8218 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.199, allocations: 0 / 0.8218 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.199, allocations: 3.953 kB / 0.8218 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/1.199, allocations: 224 / 0.8218 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/1.2, allocations: 0.4941 MB / 0.8223 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.2, allocations: 0 / 0.8223 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/1.2, allocations: 7.844 kB / 0.8223 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.2, allocations: 3.953 kB / 0.8223 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.2, allocations: 10.72 kB / 0.8223 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.2, allocations: 2.672 kB / 0.8223 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.2, allocations: 0 / 0.8223 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/1.201, allocations: 225.4 kB / 0.8226 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/1.201, allocations: 98.55 kB / 0.8227 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/1.201, allocations: 3.953 kB / 0.8227 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.201, allocations: 25.28 kB / 0.8227 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/1.201, allocations: 23.86 kB / 0.8227 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.201, allocations: 6.938 kB / 0.8227 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001364/1.201, allocations: 136.4 kB / 0.8228 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.201, allocations: 0 / 0.8228 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004674/1.202, allocations: 55.97 kB / 0.8229 GB, free: 8.496 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.001225/1.203, allocations: 0.8345 MB / 0.8237 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003461/1.203, allocations: 89.44 kB / 0.8238 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.203, allocations: 3.844 kB / 0.8238 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/1.203, allocations: 49.64 kB / 0.8238 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/1.204, allocations: 51.61 kB / 0.8239 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/1.205, allocations: 258.3 kB / 0.8241 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/1.205, allocations: 0.7249 MB / 0.8249 GB, free: 22.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001286/1.205, allocations: 29.34 kB / 0.8249 GB, free: 22.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.205, allocations: 51.17 kB / 0.8249 GB, free: 22.92 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.205, allocations: 3.875 kB / 0.8249 GB, free: 22.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/1.235, allocations: 4.997 MB / 0.8298 GB, free: 20.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/1.236, allocations: 242.9 kB / 0.83 GB, free: 20.21 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_PlotterActivationGlobalInputFirstOff.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1