Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.258/4.258, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.725e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2383, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9278/1.166, allocations: 135.4 MB / 0.8041 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.166, allocations: 79.08 kB / 0.8042 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06699/1.233, allocations: 13.21 MB / 0.8171 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/1.233, allocations: 0 / 0.8171 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.296e-05/1.234, allocations: 3.844 kB / 0.8171 GB, free: 11.5 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001041/1.235, allocations: 0.5275 MB / 0.8176 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.235, allocations: 11.06 kB / 0.8176 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.157e-05/1.235, allocations: 44.42 kB / 0.8177 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/1.235, allocations: 19.03 kB / 0.8177 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/1.236, allocations: 256.6 kB / 0.8179 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/1.236, allocations: 13.86 kB / 0.818 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/1.236, allocations: 14.84 kB / 0.818 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/1.236, allocations: 109.1 kB / 0.8181 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.236, allocations: 0 / 0.8181 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/1.236, allocations: 2.875 kB / 0.8181 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.236, allocations: 7.859 kB / 0.8181 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/1.237, allocations: 55.64 kB / 0.8181 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/1.238, allocations: 0.5462 MB / 0.8187 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.238, allocations: 91.25 kB / 0.8188 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.238, allocations: 42.19 kB / 0.8188 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.238, allocations: 3.984 kB / 0.8188 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/1.239, allocations: 123.3 kB / 0.8189 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/1.239, allocations: 4 kB / 0.8189 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004733/1.239, allocations: 126.8 kB / 0.819 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.239, allocations: 87.89 kB / 0.8191 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/1.24, allocations: 184.1 kB / 0.8193 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/1.24, allocations: 32.98 kB / 0.8193 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.24, allocations: 117.9 kB / 0.8195 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/1.24, allocations: 38.33 kB / 0.8195 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/1.24, allocations: 3 kB / 0.8195 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/1.24, allocations: 332 kB / 0.8198 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.24, allocations: 33.12 kB / 0.8198 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/1.241, allocations: 123.2 kB / 0.82 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/1.241, allocations: 43.05 kB / 0.82 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.241, allocations: 0 / 0.82 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004707/1.241, allocations: 157.2 kB / 0.8201 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.241, allocations: 7.906 kB / 0.8202 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.241, allocations: 11.77 kB / 0.8202 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.241, allocations: 3.844 kB / 0.8202 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/1.242, allocations: 11.59 kB / 0.8202 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.242, allocations: 3.938 kB / 0.8202 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/1.242, allocations: 30.66 kB / 0.8202 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/1.242, allocations: 7.5 kB / 0.8202 GB, free: 9.086 MB / 0.6355 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.pulseStart,booPul.pulseStart,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.0001049/1.242, allocations: 121.5 kB / 0.8203 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/1.242, allocations: 19.53 kB / 0.8204 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/1.242, allocations: 21.42 kB / 0.8204 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.242, allocations: 3.953 kB / 0.8204 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.242, allocations: 4 kB / 0.8204 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.242, allocations: 7.656 kB / 0.8204 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/1.243, allocations: 453.4 kB / 0.8208 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.243, allocations: 3.953 kB / 0.8208 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/1.243, allocations: 11.64 kB / 0.8208 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.243, allocations: 3.875 kB / 0.8208 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/1.243, allocations: 3.438 kB / 0.8208 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.243, allocations: 0 / 0.8208 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.243, allocations: 7.859 kB / 0.8209 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/1.244, allocations: 247 kB / 0.8211 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/1.244, allocations: 98.84 kB / 0.8212 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/1.244, allocations: 3.375 kB / 0.8212 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/1.244, allocations: 19.5 kB / 0.8212 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/1.244, allocations: 34.94 kB / 0.8212 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/1.244, allocations: 3.875 kB / 0.8212 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001387/1.244, allocations: 137.4 kB / 0.8214 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.244, allocations: 3.844 kB / 0.8214 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005173/1.245, allocations: 53.55 kB / 0.8214 GB, free: 8.164 MB / 0.6355 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.pulseStart,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.001821/1.247, allocations: 0.9069 MB / 0.8223 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005078/1.247, allocations: 98.55 kB / 0.8224 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.247, allocations: 3.938 kB / 0.8224 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/1.247, allocations: 49.98 kB / 0.8225 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/1.248, allocations: 39 kB / 0.8225 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.25, allocations: 267.1 kB / 0.8228 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/1.25, allocations: 0.727 MB / 0.8235 GB, free: 22.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000205/1.25, allocations: 25.12 kB / 0.8235 GB, free: 22.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/1.251, allocations: 55.5 kB / 0.8235 GB, free: 22.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/1.251, allocations: 0 / 0.8235 GB, free: 22.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/1.283, allocations: 4.95 MB / 0.8284 GB, free: 19.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.283, allocations: 222.3 kB / 0.8286 GB, free: 19.73 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_PlotterActivationLocalInputFirstOff.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_7_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1