Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.196/4.196, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.191e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9426/1.177, allocations: 135.7 MB / 0.8104 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.178, allocations: 80.95 kB / 0.8104 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04778/1.225, allocations: 12.27 MB / 0.8224 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/1.225, allocations: 0 / 0.8224 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.029e-05/1.225, allocations: 3.844 kB / 0.8224 GB, free: 10.34 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.0008564/1.226, allocations: 0.5323 MB / 0.823 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.226, allocations: 7.562 kB / 0.823 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/1.226, allocations: 49.61 kB / 0.823 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/1.227, allocations: 23.28 kB / 0.823 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/1.227, allocations: 254.2 kB / 0.8233 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.227, allocations: 14.56 kB / 0.8233 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/1.227, allocations: 13.38 kB / 0.8233 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/1.228, allocations: 111.2 kB / 0.8234 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.228, allocations: 0 / 0.8234 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/1.228, allocations: 3.688 kB / 0.8234 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.228, allocations: 3.844 kB / 0.8234 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/1.228, allocations: 57.42 kB / 0.8235 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/1.229, allocations: 0.546 MB / 0.824 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/1.229, allocations: 85.91 kB / 0.8241 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/1.229, allocations: 39.91 kB / 0.8241 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.229, allocations: 7.656 kB / 0.8241 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/1.229, allocations: 117.9 kB / 0.8242 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/1.229, allocations: 0 / 0.8242 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003827/1.23, allocations: 125.6 kB / 0.8244 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/1.23, allocations: 84.91 kB / 0.8244 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/1.23, allocations: 184.4 kB / 0.8246 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/1.23, allocations: 33.14 kB / 0.8246 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/1.23, allocations: 133.2 kB / 0.8248 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/1.23, allocations: 26.62 kB / 0.8248 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/1.23, allocations: 3.688 kB / 0.8248 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/1.23, allocations: 329.4 kB / 0.8251 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/1.231, allocations: 30.31 kB / 0.8251 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.231, allocations: 130.5 kB / 0.8253 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/1.231, allocations: 37.95 kB / 0.8253 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.231, allocations: 0 / 0.8253 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003271/1.231, allocations: 158.5 kB / 0.8255 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.231, allocations: 11.73 kB / 0.8255 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.231, allocations: 3.875 kB / 0.8255 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.231, allocations: 3.75 kB / 0.8255 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.231, allocations: 11.66 kB / 0.8255 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.231, allocations: 3.938 kB / 0.8255 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/1.232, allocations: 42.83 kB / 0.8255 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.232, allocations: 3.875 kB / 0.8255 GB, free: 7.918 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.0001021/1.232, allocations: 121.1 kB / 0.8257 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/1.232, allocations: 19.41 kB / 0.8257 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/1.232, allocations: 23.2 kB / 0.8257 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.232, allocations: 0 / 0.8257 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.232, allocations: 3.938 kB / 0.8257 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.232, allocations: 3.906 kB / 0.8257 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/1.233, allocations: 458.5 kB / 0.8261 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.233, allocations: 0 / 0.8261 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/1.233, allocations: 11.77 kB / 0.8261 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.233, allocations: 3.906 kB / 0.8262 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.233, allocations: 7.25 kB / 0.8262 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.233, allocations: 3.953 kB / 0.8262 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.233, allocations: 7.812 kB / 0.8262 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/1.233, allocations: 237.3 kB / 0.8264 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/1.233, allocations: 96.61 kB / 0.8265 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/1.233, allocations: 6.891 kB / 0.8265 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.234, allocations: 26.91 kB / 0.8265 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/1.234, allocations: 19.69 kB / 0.8265 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/1.234, allocations: 11.69 kB / 0.8266 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001286/1.234, allocations: 135.5 kB / 0.8267 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.234, allocations: 0 / 0.8267 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004817/1.234, allocations: 53.08 kB / 0.8267 GB, free: 7.016 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.001198/1.236, allocations: 0.9228 MB / 0.8276 GB, free: 22.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003364/1.236, allocations: 93.77 kB / 0.8277 GB, free: 22.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.236, allocations: 3.938 kB / 0.8277 GB, free: 22.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/1.236, allocations: 45 kB / 0.8278 GB, free: 22.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/1.237, allocations: 46.45 kB / 0.8278 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/1.238, allocations: 279 kB / 0.8281 GB, free: 21.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/1.238, allocations: 0.7272 MB / 0.8288 GB, free: 21.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001275/1.238, allocations: 25.17 kB / 0.8288 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/1.238, allocations: 49.92 kB / 0.8289 GB, free: 21.25 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.238, allocations: 0 / 0.8289 GB, free: 21.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/1.266, allocations: 4.967 MB / 0.8337 GB, free: 18.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/1.266, allocations: 218.8 kB / 0.8339 GB, free: 18.55 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_PlotterActivationLocalInput.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o] Error 1