Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.244/4.244, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.489e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2432, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8656/1.109, allocations: 135.7 MB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.109, allocations: 78.28 kB / 0.8104 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03224/1.142, allocations: 7.821 MB / 0.818 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.142, allocations: 0 / 0.818 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.904e-05/1.142, allocations: 0 / 0.818 GB, free: 11.49 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.0008375/1.142, allocations: 0.5239 MB / 0.8186 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.143, allocations: 15.47 kB / 0.8186 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/1.143, allocations: 40.66 kB / 0.8186 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/1.143, allocations: 23.33 kB / 0.8186 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/1.143, allocations: 257.6 kB / 0.8189 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.143, allocations: 7.688 kB / 0.8189 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/1.144, allocations: 11.38 kB / 0.8189 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/1.144, allocations: 95.11 kB / 0.819 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.144, allocations: 3.875 kB / 0.819 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.144, allocations: 0 / 0.819 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.144, allocations: 0 / 0.819 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/1.144, allocations: 55.8 kB / 0.819 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/1.145, allocations: 471.1 kB / 0.8195 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/1.146, allocations: 145 kB / 0.8196 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/1.146, allocations: 37.48 kB / 0.8197 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/1.146, allocations: 3.938 kB / 0.8197 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/1.146, allocations: 114.1 kB / 0.8198 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.865e-06/1.146, allocations: 4 kB / 0.8198 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004112/1.147, allocations: 126.8 kB / 0.8199 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.147, allocations: 55.28 kB / 0.82 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/1.147, allocations: 185.4 kB / 0.8201 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/1.147, allocations: 33.11 kB / 0.8202 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/1.147, allocations: 118.4 kB / 0.8203 GB, free: 10 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/1.147, allocations: 33.39 kB / 0.8203 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/1.147, allocations: 11.28 kB / 0.8203 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/1.147, allocations: 331.6 kB / 0.8206 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/1.147, allocations: 30.47 kB / 0.8207 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/1.148, allocations: 121.5 kB / 0.8208 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/1.148, allocations: 34.98 kB / 0.8208 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.148, allocations: 0 / 0.8208 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003303/1.148, allocations: 145.6 kB / 0.821 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.148, allocations: 6.188 kB / 0.821 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.148, allocations: 3.969 kB / 0.821 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.148, allocations: 0 / 0.821 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.148, allocations: 22.16 kB / 0.821 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.148, allocations: 8.094 kB / 0.821 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/1.149, allocations: 31.91 kB / 0.821 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.149, allocations: 7.188 kB / 0.821 GB, free: 9.52 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 0.0001134/1.149, allocations: 129.2 kB / 0.8212 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/1.149, allocations: 15.62 kB / 0.8212 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/1.149, allocations: 22.31 kB / 0.8212 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.149, allocations: 4 kB / 0.8212 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.149, allocations: 3.953 kB / 0.8212 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.149, allocations: 2.953 kB / 0.8212 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/1.15, allocations: 499 kB / 0.8217 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/1.15, allocations: 0 / 0.8217 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/1.15, allocations: 9.75 kB / 0.8217 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.15, allocations: 3.953 kB / 0.8217 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/1.15, allocations: 7.812 kB / 0.8217 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.15, allocations: 2.859 kB / 0.8217 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.15, allocations: 0 / 0.8217 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/1.15, allocations: 227.1 kB / 0.8219 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/1.15, allocations: 95.78 kB / 0.822 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/1.151, allocations: 7.328 kB / 0.822 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/1.151, allocations: 21.52 kB / 0.822 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/1.151, allocations: 20.66 kB / 0.8221 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.151, allocations: 7.375 kB / 0.8221 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001378/1.151, allocations: 136.7 kB / 0.8222 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.151, allocations: 0 / 0.8222 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005192/1.152, allocations: 55.41 kB / 0.8222 GB, free: 8.727 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.001276/1.153, allocations: 0.8268 MB / 0.8231 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000394/1.153, allocations: 103.5 kB / 0.8232 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.153, allocations: 0 / 0.8232 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/1.153, allocations: 54.05 kB / 0.8232 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/1.154, allocations: 58.55 kB / 0.8233 GB, free: 24.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/1.155, allocations: 267.3 kB / 0.8235 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/1.156, allocations: 0.7309 MB / 0.8242 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001471/1.156, allocations: 23.69 kB / 0.8243 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.156, allocations: 51.2 kB / 0.8243 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.156, allocations: 3.938 kB / 0.8243 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06416/1.22, allocations: 4.999 MB / 0.8292 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.22, allocations: 226 kB / 0.8294 GB, free: 20.64 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_PlotterActivationGlobalInput.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_PlotterActivationGlobalInput_functions.o Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_PlotterActivationGlobalInput_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1