Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.427/4.427, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.218e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8588/1.085, allocations: 135 MB / 0.8097 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.086, allocations: 82.66 kB / 0.8097 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02569/1.111, allocations: 6.155 MB / 0.8157 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/1.111, allocations: 0 / 0.8157 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.217e-05/1.111, allocations: 7.906 kB / 0.8157 GB, free: 11.6 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007441/1.112, allocations: 0.5075 MB / 0.8162 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.112, allocations: 15.78 kB / 0.8163 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/1.112, allocations: 39.47 kB / 0.8163 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/1.112, allocations: 23.33 kB / 0.8163 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/1.113, allocations: 258.3 kB / 0.8166 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.113, allocations: 11.25 kB / 0.8166 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/1.113, allocations: 15.06 kB / 0.8166 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/1.113, allocations: 92.34 kB / 0.8167 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.113, allocations: 0 / 0.8167 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/1.113, allocations: 3 kB / 0.8167 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.113, allocations: 7.844 kB / 0.8167 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/1.114, allocations: 50.23 kB / 0.8167 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/1.115, allocations: 480 kB / 0.8172 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/1.115, allocations: 73.69 kB / 0.8173 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/1.115, allocations: 35.06 kB / 0.8173 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.115, allocations: 3.984 kB / 0.8173 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/1.115, allocations: 105.9 kB / 0.8174 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.417e-06/1.115, allocations: 0 / 0.8174 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.000333/1.116, allocations: 115.1 kB / 0.8175 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.116, allocations: 55.25 kB / 0.8176 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/1.116, allocations: 166.1 kB / 0.8177 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/1.116, allocations: 32.7 kB / 0.8178 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/1.116, allocations: 128 kB / 0.8179 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/1.116, allocations: 33.7 kB / 0.8179 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/1.116, allocations: 4 kB / 0.8179 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/1.116, allocations: 327 kB / 0.8182 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/1.116, allocations: 29.34 kB / 0.8183 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/1.116, allocations: 127.8 kB / 0.8184 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/1.117, allocations: 34.22 kB / 0.8184 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.117, allocations: 0 / 0.8184 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003142/1.117, allocations: 144.7 kB / 0.8185 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.117, allocations: 4 kB / 0.8185 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/1.117, allocations: 7.844 kB / 0.8186 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.117, allocations: 0 / 0.8186 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/1.117, allocations: 25.59 kB / 0.8186 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/1.117, allocations: 0 / 0.8186 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/1.117, allocations: 22.59 kB / 0.8186 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/1.118, allocations: 7.5 kB / 0.8186 GB, free: 9.625 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001044/1.118, allocations: 119.3 kB / 0.8187 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/1.118, allocations: 30.64 kB / 0.8188 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/1.118, allocations: 127 kB / 0.8189 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.118, allocations: 0 / 0.8189 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.118, allocations: 0 / 0.8189 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.118, allocations: 0 / 0.8189 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/1.119, allocations: 460 kB / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.119, allocations: 1.828 kB / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/1.119, allocations: 3.812 kB / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/1.119, allocations: 3.875 kB / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.119, allocations: 2.203 kB / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.119, allocations: 0 / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.119, allocations: 0 / 0.8193 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/1.119, allocations: 227.3 kB / 0.8195 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/1.119, allocations: 92.61 kB / 0.8196 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/1.119, allocations: 10.36 kB / 0.8196 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.119, allocations: 10.56 kB / 0.8196 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/1.12, allocations: 16.25 kB / 0.8197 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/1.12, allocations: 6.625 kB / 0.8197 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001308/1.12, allocations: 134.7 kB / 0.8198 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/1.12, allocations: 0 / 0.8198 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004983/1.12, allocations: 46.19 kB / 0.8198 GB, free: 8.801 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001241/1.121, allocations: 0.8447 MB / 0.8207 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00035/1.122, allocations: 82.34 kB / 0.8207 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.122, allocations: 0 / 0.8207 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/1.122, allocations: 44.58 kB / 0.8208 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/1.123, allocations: 38.83 kB / 0.8208 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/1.124, allocations: 256.4 kB / 0.8211 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/1.124, allocations: 0.7209 MB / 0.8218 GB, free: 23.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001312/1.124, allocations: 29.97 kB / 0.8218 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.124, allocations: 49.11 kB / 0.8219 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.603e-06/1.124, allocations: 0 / 0.8219 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/1.15, allocations: 4.582 MB / 0.8263 GB, free: 21.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/1.15, allocations: 204.4 kB / 0.8265 GB, free: 21.62 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_Scatter.o Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1