Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.57/4.57, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.536e-05, allocations: 4 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8789/1.108, allocations: 134.9 MB / 0.8037 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.108, allocations: 73.7 kB / 0.8037 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02881/1.137, allocations: 6.757 MB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/1.137, allocations: 0 / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.224e-05/1.137, allocations: 3.938 kB / 0.8103 GB, free: 12.04 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.0008264/1.138, allocations: 0.5241 MB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.138, allocations: 7.562 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/1.138, allocations: 40.83 kB / 0.8109 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/1.138, allocations: 23.09 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/1.139, allocations: 272 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/1.139, allocations: 11.5 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/1.139, allocations: 18.28 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/1.14, allocations: 102.5 kB / 0.8113 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.14, allocations: 3.938 kB / 0.8113 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.14, allocations: 9.609 kB / 0.8113 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.14, allocations: 0 / 0.8113 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/1.14, allocations: 55.03 kB / 0.8114 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.141, allocations: 499.4 kB / 0.8118 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/1.141, allocations: 105.5 kB / 0.8119 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/1.141, allocations: 34.33 kB / 0.812 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/1.141, allocations: 3.875 kB / 0.812 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/1.142, allocations: 108.7 kB / 0.8121 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/1.142, allocations: 3.938 kB / 0.8121 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004029/1.142, allocations: 129.5 kB / 0.8122 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.142, allocations: 68.92 kB / 0.8123 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/1.142, allocations: 178.9 kB / 0.8124 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/1.142, allocations: 33.11 kB / 0.8125 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/1.143, allocations: 122.6 kB / 0.8126 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/1.143, allocations: 32.92 kB / 0.8126 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/1.143, allocations: 7.156 kB / 0.8126 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/1.143, allocations: 330.1 kB / 0.8129 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/1.143, allocations: 69.11 kB / 0.813 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/1.143, allocations: 119.6 kB / 0.8131 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/1.143, allocations: 145.2 kB / 0.8133 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.144, allocations: 0 / 0.8133 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007719/1.144, allocations: 323.2 kB / 0.8136 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/1.144, allocations: 68.02 kB / 0.8136 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.144, allocations: 0 / 0.8136 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.144, allocations: 3.844 kB / 0.8136 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.145, allocations: 18.34 kB / 0.8137 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.145, allocations: 3.844 kB / 0.8137 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/1.145, allocations: 33.62 kB / 0.8137 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.145, allocations: 14.59 kB / 0.8137 GB, free: 9.863 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.0001346/1.145, allocations: 126.2 kB / 0.8138 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/1.145, allocations: 18.39 kB / 0.8138 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/1.146, allocations: 146.3 kB / 0.814 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.146, allocations: 6.125 kB / 0.814 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.146, allocations: 4 kB / 0.814 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.146, allocations: 0 / 0.814 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008876/1.147, allocations: 490.3 kB / 0.8145 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.147, allocations: 3.781 kB / 0.8145 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/1.147, allocations: 6.609 kB / 0.8145 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/1.147, allocations: 0 / 0.8145 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/1.147, allocations: 7.719 kB / 0.8145 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.147, allocations: 4 kB / 0.8145 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.147, allocations: 3.953 kB / 0.8145 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/1.147, allocations: 230 kB / 0.8147 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/1.148, allocations: 98.81 kB / 0.8148 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/1.148, allocations: 3.844 kB / 0.8148 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.148, allocations: 8.984 kB / 0.8148 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.148, allocations: 22.83 kB / 0.8148 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/1.148, allocations: 11.45 kB / 0.8148 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002027/1.148, allocations: 141.2 kB / 0.815 GB, free: 25.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.148, allocations: 0 / 0.815 GB, free: 25.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005584/1.149, allocations: 54.66 kB / 0.815 GB, free: 25.02 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.00105/1.15, allocations: 0.8451 MB / 0.8159 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005739/1.151, allocations: 242.2 kB / 0.8161 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.151, allocations: 0 / 0.8161 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/1.151, allocations: 47.75 kB / 0.8161 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/1.151, allocations: 59.3 kB / 0.8162 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.152, allocations: 289.7 kB / 0.8165 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/1.153, allocations: 0.7331 MB / 0.8172 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001404/1.153, allocations: 22.92 kB / 0.8172 GB, free: 23.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.153, allocations: 55.8 kB / 0.8173 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/1.153, allocations: 3.812 kB / 0.8173 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/1.186, allocations: 4.946 MB / 0.8221 GB, free: 22.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/1.187, allocations: 204.1 kB / 0.8223 GB, free: 22.07 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_Examples_TimeSeries.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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_Examples_TimeSeries_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1