Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.431/4.431, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.254e-05, allocations: 4 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 106.2 MB / 0.6719 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.517/7.796, allocations: 2.191 GB / 2.863 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/7.796, allocations: 97.27 kB / 2.863 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.24/8.036, allocations: 63.9 MB / 2.926 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/8.036, allocations: 4 kB / 2.926 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001052/8.036, allocations: 23.94 kB / 2.926 GB, free: 224.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002775/8.039, allocations: 1.091 MB / 2.927 GB, free: 223 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/8.039, allocations: 12.03 kB / 2.927 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003274/8.039, allocations: 126.4 kB / 2.927 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/8.041, allocations: 190.5 kB / 2.927 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/8.042, allocations: 0.6308 MB / 2.928 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/8.043, allocations: 55.81 kB / 2.928 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/8.043, allocations: 80.56 kB / 2.928 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/8.045, allocations: 0.8192 MB / 2.929 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/8.045, allocations: 3.953 kB / 2.929 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/8.045, allocations: 32.81 kB / 2.929 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/8.045, allocations: 23.94 kB / 2.929 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/8.047, allocations: 1.019 MB / 2.93 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006292/8.054, allocations: 2.473 MB / 2.932 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/8.055, allocations: 0.6993 MB / 2.933 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/8.056, allocations: 266.5 kB / 2.933 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/8.056, allocations: 109.7 kB / 2.933 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009123/8.057, allocations: 427.5 kB / 2.934 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/8.057, allocations: 0 / 2.934 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002586/8.06, allocations: 0.7117 MB / 2.934 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/8.06, allocations: 240.1 kB / 2.934 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/8.061, allocations: 0.6093 MB / 2.935 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/8.061, allocations: 39.77 kB / 2.935 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/8.062, allocations: 395.4 kB / 2.935 GB, free: 216 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/8.062, allocations: 243.3 kB / 2.936 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/8.062, allocations: 9.562 kB / 2.936 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001425/8.062, allocations: 386.8 kB / 2.936 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/8.063, allocations: 205.7 kB / 2.936 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/8.064, allocations: 314.7 kB / 2.937 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/8.064, allocations: 253.5 kB / 2.937 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/8.064, allocations: 0 / 2.937 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002513/8.067, allocations: 0.7068 MB / 2.937 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/8.067, allocations: 8.062 kB / 2.937 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/8.067, allocations: 0 / 2.937 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/8.068, allocations: 84.28 kB / 2.938 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/8.069, allocations: 142.5 kB / 2.938 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/8.072, allocations: 1.532 MB / 2.939 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/8.073, allocations: 82 kB / 2.939 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/8.073, allocations: 23.67 kB / 2.939 GB, free: 212.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002561/8.073, allocations: 151.2 kB / 2.939 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/8.073, allocations: 86.97 kB / 2.94 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/8.077, allocations: 0.9581 MB / 2.94 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/8.077, allocations: 11.94 kB / 2.94 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/8.077, allocations: 0 / 2.94 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/8.077, allocations: 11.94 kB / 2.94 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/8.078, allocations: 0.8992 MB / 2.941 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/8.078, allocations: 3.984 kB / 2.941 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/8.08, allocations: 148.5 kB / 2.942 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008268/8.08, allocations: 86.41 kB / 2.942 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/8.08, allocations: 21.61 kB / 2.942 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/8.083, allocations: 1.557 MB / 2.943 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/8.083, allocations: 3.953 kB / 2.943 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/8.085, allocations: 0.8168 MB / 2.944 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/8.086, allocations: 294.4 kB / 2.944 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/8.086, allocations: 16 kB / 2.944 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009819/8.087, allocations: 70.69 kB / 2.944 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/8.087, allocations: 59.56 kB / 2.944 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/8.087, allocations: 31.11 kB / 2.944 GB, free: 208 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008817/8.088, allocations: 0.4892 MB / 2.945 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/8.088, allocations: 0 / 2.945 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00137/8.09, allocations: 342.7 kB / 2.945 GB, free: 207.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004859/8.095, allocations: 2.323 MB / 2.947 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001886/8.096, allocations: 0.6746 MB / 2.948 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/8.096, allocations: 3.938 kB / 2.948 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/8.098, allocations: 476.6 kB / 2.949 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/8.099, allocations: 259 kB / 2.949 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/8.105, allocations: 1.57 MB / 2.95 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/8.106, allocations: 1.041 MB / 2.951 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001346/8.107, allocations: 254.1 kB / 2.952 GB, free: 201 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/8.108, allocations: 379.3 kB / 2.952 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/8.108, allocations: 3.938 kB / 2.952 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/8.186, allocations: 32.08 MB / 2.983 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/8.187, allocations: 244 kB / 2.984 GB, free: 168.4 MB / 0.8855 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_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_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_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_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_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o] Error 1