Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.248/4.248, allocations: 464.6 MB / 476.8 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.429e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.249, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9408/1.19, allocations: 135.8 MB / 0.8104 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.19, allocations: 80.14 kB / 0.8105 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05104/1.241, allocations: 13.2 MB / 0.8234 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/1.241, allocations: 0 / 0.8234 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.137e-05/1.241, allocations: 7.875 kB / 0.8234 GB, free: 9.973 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.0007917/1.242, allocations: 0.533 MB / 0.8239 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.242, allocations: 7.594 kB / 0.8239 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/1.242, allocations: 37.5 kB / 0.824 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/1.242, allocations: 23.34 kB / 0.824 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/1.243, allocations: 263.7 kB / 0.8242 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/1.243, allocations: 7.281 kB / 0.8243 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/1.243, allocations: 18.16 kB / 0.8243 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/1.243, allocations: 109.4 kB / 0.8244 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.243, allocations: 3.781 kB / 0.8244 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.243, allocations: 3.25 kB / 0.8244 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.243, allocations: 0 / 0.8244 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/1.244, allocations: 56.45 kB / 0.8244 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/1.245, allocations: 0.5415 MB / 0.825 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/1.245, allocations: 91.17 kB / 0.8251 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/1.245, allocations: 44.55 kB / 0.8251 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/1.245, allocations: 3.875 kB / 0.8251 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/1.245, allocations: 134.4 kB / 0.8252 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.294e-06/1.245, allocations: 0 / 0.8252 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003179/1.246, allocations: 119.2 kB / 0.8253 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.246, allocations: 84.91 kB / 0.8254 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.246, allocations: 182.4 kB / 0.8256 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/1.246, allocations: 41.45 kB / 0.8256 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/1.246, allocations: 127.2 kB / 0.8258 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/1.246, allocations: 30.84 kB / 0.8258 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/1.246, allocations: 7.781 kB / 0.8258 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/1.246, allocations: 330.3 kB / 0.8261 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/1.246, allocations: 27.25 kB / 0.8261 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/1.246, allocations: 133.7 kB / 0.8263 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/1.247, allocations: 34.83 kB / 0.8263 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.247, allocations: 7.938 kB / 0.8263 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003091/1.247, allocations: 151.6 kB / 0.8264 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.247, allocations: 7.688 kB / 0.8265 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.247, allocations: 0 / 0.8265 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.247, allocations: 7.781 kB / 0.8265 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/1.247, allocations: 18.55 kB / 0.8265 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.247, allocations: 3.844 kB / 0.8265 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/1.247, allocations: 30.72 kB / 0.8265 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/1.247, allocations: 7.688 kB / 0.8265 GB, free: 7.555 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 9.295e-05/1.248, allocations: 120.3 kB / 0.8266 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/1.248, allocations: 19.38 kB / 0.8267 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/1.248, allocations: 24.8 kB / 0.8267 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.248, allocations: 3.812 kB / 0.8267 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.248, allocations: 0 / 0.8267 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.248, allocations: 0 / 0.8267 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/1.248, allocations: 465.3 kB / 0.8271 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.248, allocations: 0 / 0.8271 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/1.249, allocations: 7.781 kB / 0.8271 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.249, allocations: 0 / 0.8271 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/1.249, allocations: 7.375 kB / 0.8271 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.249, allocations: 11.84 kB / 0.8271 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.249, allocations: 0 / 0.8271 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/1.249, allocations: 239.5 kB / 0.8274 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/1.249, allocations: 96.12 kB / 0.8275 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/1.249, allocations: 3.953 kB / 0.8275 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/1.249, allocations: 23.05 kB / 0.8275 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/1.249, allocations: 19.53 kB / 0.8275 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/1.249, allocations: 7.562 kB / 0.8275 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001271/1.249, allocations: 143.3 kB / 0.8277 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.249, allocations: 0 / 0.8277 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004286/1.25, allocations: 45.75 kB / 0.8277 GB, free: 6.66 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.001175/1.251, allocations: 0.9342 MB / 0.8286 GB, free: 21.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002884/1.251, allocations: 96.77 kB / 0.8287 GB, free: 21.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.251, allocations: 0 / 0.8287 GB, free: 21.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/1.252, allocations: 51.59 kB / 0.8288 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/1.252, allocations: 44.67 kB / 0.8288 GB, free: 21.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/1.253, allocations: 258.6 kB / 0.829 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/1.253, allocations: 0.7275 MB / 0.8298 GB, free: 20.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00011/1.253, allocations: 25.05 kB / 0.8298 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.253, allocations: 50.83 kB / 0.8298 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.253, allocations: 0 / 0.8298 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/1.281, allocations: 4.964 MB / 0.8347 GB, free: 18.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.281, allocations: 226.8 kB / 0.8349 GB, free: 18.2 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_PlotterActivationLocalInputFirstOff.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1