Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.011/4.011, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.695e-05, allocations: 4 kB / 0.5338 GB, free: 12.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2354, allocations: 98.72 MB / 0.6302 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.4745, allocations: 127.6 MB / 0.7548 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4749, allocations: 75.95 kB / 0.7549 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02913/0.504, allocations: 6.149 MB / 0.7609 GB, free: 64 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5041, allocations: 7.875 kB / 0.7609 GB, free: 56 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.301e-05/0.5041, allocations: 8 kB / 0.7609 GB, free: 48 kB / 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.0009118/0.505, allocations: 0.4988 MB / 0.7614 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.5051, allocations: 12.02 kB / 0.7614 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.5052, allocations: 38.56 kB / 0.7615 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.5053, allocations: 15.81 kB / 0.7615 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.506, allocations: 258.7 kB / 0.7617 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.5061, allocations: 8.172 kB / 0.7617 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.5061, allocations: 16 kB / 0.7618 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.5064, allocations: 91.17 kB / 0.7618 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5065, allocations: 7.938 kB / 0.7618 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.5065, allocations: 11.89 kB / 0.7619 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5065, allocations: 0 / 0.7619 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.5067, allocations: 52.36 kB / 0.7619 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.508, allocations: 481.9 kB / 0.7624 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.5083, allocations: 66.58 kB / 0.7624 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.5084, allocations: 36.84 kB / 0.7625 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.5085, allocations: 4 kB / 0.7625 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.5087, allocations: 95.3 kB / 0.7626 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 5.671e-06/0.5087, allocations: 3.984 kB / 0.7626 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0003888/0.5091, allocations: 117.4 kB / 0.7627 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5092, allocations: 55.39 kB / 0.7627 GB, free: 14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.5095, allocations: 169.5 kB / 0.7629 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.5096, allocations: 33.7 kB / 0.7629 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5097, allocations: 124.4 kB / 0.763 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.5098, allocations: 35.53 kB / 0.7631 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.5098, allocations: 4 kB / 0.7631 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.51, allocations: 326.8 kB / 0.7634 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.5101, allocations: 28 kB / 0.7634 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.5104, allocations: 125.4 kB / 0.7635 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5106, allocations: 39.86 kB / 0.7636 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5106, allocations: 0 / 0.7636 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004078/0.511, allocations: 141.4 kB / 0.7637 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.511, allocations: 4 kB / 0.7637 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.511, allocations: 4 kB / 0.7637 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5111, allocations: 4 kB / 0.7637 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.5113, allocations: 23.92 kB / 0.7637 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5113, allocations: 0 / 0.7637 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.5116, allocations: 23.88 kB / 0.7638 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.5117, allocations: 12 kB / 0.7638 GB, free: 12.86 MB / 0.6511 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.0001477/0.5118, allocations: 121.9 kB / 0.7639 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.5119, allocations: 15.81 kB / 0.7639 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.5122, allocations: 139.4 kB / 0.764 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5123, allocations: 0 / 0.764 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5123, allocations: 0 / 0.764 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5123, allocations: 0 / 0.764 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.5132, allocations: 458.3 kB / 0.7645 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5132, allocations: 0 / 0.7645 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.5133, allocations: 15.94 kB / 0.7645 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.5133, allocations: 0 / 0.7645 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.5133, allocations: 4 kB / 0.7645 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5133, allocations: 3.953 kB / 0.7645 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5133, allocations: 0 / 0.7645 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.5137, allocations: 215.3 kB / 0.7647 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.5138, allocations: 92.92 kB / 0.7648 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.5138, allocations: 7.984 kB / 0.7648 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.514, allocations: 8 kB / 0.7648 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.5141, allocations: 19.92 kB / 0.7648 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.5141, allocations: 4 kB / 0.7648 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001668/0.5143, allocations: 140.3 kB / 0.765 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5143, allocations: 0 / 0.765 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005328/0.5149, allocations: 55.84 kB / 0.765 GB, free: 11.49 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: 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.001052/0.5159, allocations: 0.8265 MB / 0.7658 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.5163, allocations: 87.94 kB / 0.7659 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5164, allocations: 4.25 kB / 0.7659 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.5165, allocations: 43.98 kB / 0.766 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.517, allocations: 43.86 kB / 0.766 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.5181, allocations: 259.5 kB / 0.7662 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.5185, allocations: 0.7244 MB / 0.767 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.5187, allocations: 25.52 kB / 0.767 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5188, allocations: 47.42 kB / 0.767 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/0.5188, allocations: 0 / 0.767 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.5501, allocations: 4.581 MB / 0.7715 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/0.5505, allocations: 197.6 kB / 0.7717 GB, free: 4.641 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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_6_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1