Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.373/4.373, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.81e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2401, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8792/1.119, allocations: 135.3 MB / 0.8099 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.12, allocations: 79.53 kB / 0.81 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02732/1.147, allocations: 6.733 MB / 0.8166 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.147, allocations: 0 / 0.8166 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.967e-05/1.147, allocations: 7.781 kB / 0.8166 GB, free: 11.39 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007693/1.148, allocations: 0.5241 MB / 0.8171 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.148, allocations: 11.72 kB / 0.8171 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/1.148, allocations: 40.86 kB / 0.8172 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/1.148, allocations: 29.75 kB / 0.8172 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/1.149, allocations: 269.6 kB / 0.8175 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.149, allocations: 11.62 kB / 0.8175 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/1.149, allocations: 15.03 kB / 0.8175 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/1.149, allocations: 100.6 kB / 0.8176 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.149, allocations: 7.828 kB / 0.8176 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/1.149, allocations: 6.016 kB / 0.8176 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.149, allocations: 3.953 kB / 0.8176 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/1.149, allocations: 57.97 kB / 0.8176 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/1.15, allocations: 494.6 kB / 0.8181 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/1.151, allocations: 107.7 kB / 0.8182 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/1.151, allocations: 37.94 kB / 0.8183 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/1.151, allocations: 3.844 kB / 0.8183 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/1.151, allocations: 108.8 kB / 0.8184 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/1.151, allocations: 0 / 0.8184 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003575/1.151, allocations: 138.8 kB / 0.8185 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/1.152, allocations: 58.84 kB / 0.8186 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/1.152, allocations: 190.9 kB / 0.8187 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.152, allocations: 32.98 kB / 0.8188 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/1.152, allocations: 117.7 kB / 0.8189 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/1.152, allocations: 44.5 kB / 0.8189 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/1.152, allocations: 7.094 kB / 0.8189 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/1.152, allocations: 333.1 kB / 0.8192 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/1.152, allocations: 53.94 kB / 0.8193 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.153, allocations: 123.5 kB / 0.8194 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/1.153, allocations: 138.8 kB / 0.8195 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.153, allocations: 0 / 0.8195 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00071/1.154, allocations: 311.4 kB / 0.8198 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/1.154, allocations: 66.28 kB / 0.8199 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.154, allocations: 7.719 kB / 0.8199 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.154, allocations: 0 / 0.8199 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.154, allocations: 26.22 kB / 0.8199 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.154, allocations: 10.52 kB / 0.82 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/1.154, allocations: 22.25 kB / 0.82 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/1.154, allocations: 13.08 kB / 0.82 GB, free: 9.215 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001112/1.154, allocations: 137.5 kB / 0.8201 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/1.154, allocations: 15.47 kB / 0.8201 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/1.155, allocations: 146.7 kB / 0.8203 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.155, allocations: 0 / 0.8203 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.155, allocations: 3.812 kB / 0.8203 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.155, allocations: 4.031 kB / 0.8203 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007414/1.156, allocations: 499.4 kB / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.156, allocations: 0 / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/1.156, allocations: 3.875 kB / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.156, allocations: 0 / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/1.156, allocations: 10.16 kB / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.156, allocations: 0 / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.156, allocations: 0 / 0.8208 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/1.156, allocations: 228.7 kB / 0.821 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/1.156, allocations: 106.3 kB / 0.8211 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/1.156, allocations: 3.906 kB / 0.8211 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.156, allocations: 9.219 kB / 0.8211 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/1.156, allocations: 18.7 kB / 0.8211 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/1.156, allocations: 15.28 kB / 0.8211 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004595/1.157, allocations: 143.8 kB / 0.8213 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.157, allocations: 0 / 0.8213 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005081/1.157, allocations: 48.53 kB / 0.8213 GB, free: 24.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009487/1.158, allocations: 0.8579 MB / 0.8222 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006346/1.159, allocations: 236.6 kB / 0.8224 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.159, allocations: 0 / 0.8224 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/1.159, allocations: 53.33 kB / 0.8224 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/1.16, allocations: 51.97 kB / 0.8225 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.161, allocations: 286.6 kB / 0.8228 GB, free: 23.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.161, allocations: 0.7287 MB / 0.8235 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001376/1.161, allocations: 39.98 kB / 0.8235 GB, free: 22.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/1.161, allocations: 55.02 kB / 0.8236 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of SimCode: time 8.91e-07/1.161, allocations: 0 / 0.8236 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/1.195, allocations: 4.964 MB / 0.8284 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/1.196, allocations: 192.6 kB / 0.8286 GB, free: 20.49 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_Examples_TimeSeries.o Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_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_Examples_TimeSeries_functions.o Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_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_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_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_Examples_TimeSeries_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1