Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.371/4.371, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.571e-05, allocations: 2.812 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2583, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8865/1.145, allocations: 134.6 MB / 0.8034 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.145, allocations: 77.56 kB / 0.8034 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03352/1.179, allocations: 6.168 MB / 0.8095 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.179, allocations: 0 / 0.8095 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.552e-05/1.179, allocations: 7.75 kB / 0.8095 GB, free: 12.48 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.0009324/1.18, allocations: 0.5041 MB / 0.81 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.18, allocations: 7.688 kB / 0.81 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/1.18, allocations: 40.62 kB / 0.81 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/1.18, allocations: 23.06 kB / 0.81 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/1.181, allocations: 256.1 kB / 0.8103 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/1.181, allocations: 11.59 kB / 0.8103 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/1.181, allocations: 19.28 kB / 0.8103 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/1.181, allocations: 93.14 kB / 0.8104 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.181, allocations: 3.953 kB / 0.8104 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/1.182, allocations: 3.312 kB / 0.8104 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.182, allocations: 3.844 kB / 0.8104 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/1.182, allocations: 52.69 kB / 0.8104 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/1.183, allocations: 467.4 kB / 0.8109 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/1.184, allocations: 88.64 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/1.184, allocations: 27.36 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/1.184, allocations: 3.906 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/1.184, allocations: 90.28 kB / 0.8111 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.838e-06/1.184, allocations: 0 / 0.8111 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004661/1.184, allocations: 116 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.185, allocations: 59.19 kB / 0.8113 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/1.185, allocations: 180.2 kB / 0.8114 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/1.185, allocations: 29.08 kB / 0.8115 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.185, allocations: 131 kB / 0.8116 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/1.185, allocations: 29.75 kB / 0.8116 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/1.185, allocations: 3.812 kB / 0.8116 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/1.185, allocations: 330.6 kB / 0.8119 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.185, allocations: 27.66 kB / 0.812 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.186, allocations: 127.1 kB / 0.8121 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.186, allocations: 38.58 kB / 0.8121 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.186, allocations: 4 kB / 0.8121 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004962/1.186, allocations: 140.7 kB / 0.8123 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.186, allocations: 6.844 kB / 0.8123 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.186, allocations: 3.844 kB / 0.8123 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.187, allocations: 3.844 kB / 0.8123 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/1.187, allocations: 15.47 kB / 0.8123 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.187, allocations: 6.688 kB / 0.8123 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/1.187, allocations: 30.05 kB / 0.8123 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/1.187, allocations: 7.094 kB / 0.8123 GB, free: 10.52 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.000147/1.187, allocations: 116 kB / 0.8124 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/1.188, allocations: 15.56 kB / 0.8125 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/1.188, allocations: 121 kB / 0.8126 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.188, allocations: 0 / 0.8126 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.188, allocations: 0 / 0.8126 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.188, allocations: 3.047 kB / 0.8126 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/1.189, allocations: 465.9 kB / 0.813 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.189, allocations: 48 / 0.813 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/1.189, allocations: 14.16 kB / 0.813 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.189, allocations: 3.844 kB / 0.813 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/1.189, allocations: 0 / 0.813 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.189, allocations: 3.953 kB / 0.813 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.189, allocations: 4 kB / 0.813 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/1.19, allocations: 213.5 kB / 0.8132 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/1.19, allocations: 99.11 kB / 0.8133 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/1.19, allocations: 3.938 kB / 0.8133 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.19, allocations: 10.22 kB / 0.8134 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.19, allocations: 22.11 kB / 0.8134 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/1.19, allocations: 7.844 kB / 0.8134 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001826/1.19, allocations: 132.4 kB / 0.8135 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.41e-07/1.19, allocations: 0 / 0.8135 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008058/1.191, allocations: 55.2 kB / 0.8136 GB, free: 9.691 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.001489/1.193, allocations: 0.8214 MB / 0.8144 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004769/1.193, allocations: 93.06 kB / 0.8144 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.193, allocations: 0 / 0.8144 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/1.193, allocations: 37.81 kB / 0.8145 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/1.194, allocations: 47.92 kB / 0.8145 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.196, allocations: 259.5 kB / 0.8148 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/1.196, allocations: 0.7227 MB / 0.8155 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001937/1.196, allocations: 28.27 kB / 0.8155 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/1.197, allocations: 50.2 kB / 0.8156 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/1.197, allocations: 0 / 0.8156 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04275/1.239, allocations: 4.582 MB / 0.82 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/1.24, allocations: 202.2 kB / 0.8202 GB, free: 23.36 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_Scatter.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1