Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.92/2.92, allocations: 288.1 MB / 300.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.907e-05, allocations: 4.188 kB / 370.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 67 MB / 437.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.842, allocations: 2.156 GB / 2.584 GB, free: 144.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/6.842, allocations: 98.09 kB / 2.584 GB, free: 144.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2084/7.051, allocations: 56.89 MB / 2.639 GB, free: 106.4 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.734e-06/7.051, allocations: 4 kB / 2.639 GB, free: 106.4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.201e-05/7.051, allocations: 19.94 kB / 2.639 GB, free: 106.4 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002186/7.053, allocations: 1.024 MB / 2.64 GB, free: 105.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/7.053, allocations: 12.03 kB / 2.64 GB, free: 105.4 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/7.053, allocations: 120 kB / 2.641 GB, free: 105.3 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/7.054, allocations: 181.9 kB / 2.641 GB, free: 105.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/7.056, allocations: 0.5934 MB / 2.641 GB, free: 104.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/7.056, allocations: 67.2 kB / 2.641 GB, free: 104.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/7.056, allocations: 73.69 kB / 2.641 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/7.058, allocations: 0.7942 MB / 2.642 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/7.058, allocations: 0 / 2.642 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/7.058, allocations: 33.12 kB / 2.642 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/7.058, allocations: 20 kB / 2.642 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/7.06, allocations: 0.9848 MB / 2.643 GB, free: 103.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/7.065, allocations: 2.329 MB / 2.646 GB, free: 101.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/7.067, allocations: 0.7391 MB / 2.646 GB, free: 100.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/7.068, allocations: 253.9 kB / 2.646 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/7.068, allocations: 30.89 kB / 2.647 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008437/7.069, allocations: 386.5 kB / 2.647 GB, free: 100.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=70): time 3.617e-06/7.069, allocations: 4 kB / 2.647 GB, free: 100.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=70): time 0.002439/7.071, allocations: 0.6529 MB / 2.648 GB, free: 99.69 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/7.071, allocations: 247.9 kB / 2.648 GB, free: 99.39 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/7.072, allocations: 0.5518 MB / 2.648 GB, free: 98.83 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/7.072, allocations: 41.7 kB / 2.648 GB, free: 98.79 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/7.073, allocations: 364.4 kB / 2.649 GB, free: 98.42 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/7.073, allocations: 224.7 kB / 2.649 GB, free: 98.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/7.073, allocations: 12 kB / 2.649 GB, free: 98.19 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001199/7.073, allocations: 374.8 kB / 2.649 GB, free: 97.81 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/7.074, allocations: 193.5 kB / 2.649 GB, free: 97.62 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/7.074, allocations: 295.5 kB / 2.65 GB, free: 97.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/7.075, allocations: 234 kB / 2.65 GB, free: 97.08 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/7.075, allocations: 4 kB / 2.65 GB, free: 97.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002282/7.077, allocations: 0.668 MB / 2.651 GB, free: 96.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/7.077, allocations: 4.625 kB / 2.651 GB, free: 96.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.077, allocations: 4 kB / 2.651 GB, free: 96.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009409/7.078, allocations: 84.83 kB / 2.651 GB, free: 96.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/7.079, allocations: 131.8 kB / 2.651 GB, free: 96.17 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/7.082, allocations: 1.513 MB / 2.652 GB, free: 94.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/7.083, allocations: 83.5 kB / 2.652 GB, free: 94.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/7.083, allocations: 23.98 kB / 2.652 GB, free: 94.41 MB / 0.573 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 (72): * Single equations (assignments): 71 * 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.0002378/7.083, allocations: 145 kB / 2.653 GB, free: 94.26 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/7.083, allocations: 79.08 kB / 2.653 GB, free: 94.18 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/7.086, allocations: 0.9259 MB / 2.654 GB, free: 93.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/7.086, allocations: 8 kB / 2.654 GB, free: 93.24 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/7.086, allocations: 3.953 kB / 2.654 GB, free: 93.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/7.086, allocations: 3.984 kB / 2.654 GB, free: 93.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/7.091, allocations: 1.796 MB / 2.655 GB, free: 91.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/7.091, allocations: 0 / 2.655 GB, free: 91.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/7.092, allocations: 139.8 kB / 2.655 GB, free: 91.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008189/7.093, allocations: 80.78 kB / 2.656 GB, free: 91.15 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/7.093, allocations: 23.98 kB / 2.656 GB, free: 91.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/7.095, allocations: 1.548 MB / 2.657 GB, free: 89.44 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/7.095, allocations: 0 / 2.657 GB, free: 89.44 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/7.097, allocations: 0.8455 MB / 2.658 GB, free: 88.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005795/7.098, allocations: 271.8 kB / 2.658 GB, free: 88.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/7.098, allocations: 16 kB / 2.658 GB, free: 88.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/7.099, allocations: 67.94 kB / 2.658 GB, free: 88.21 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/7.099, allocations: 60.66 kB / 2.658 GB, free: 88.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/7.099, allocations: 27.98 kB / 2.658 GB, free: 88.12 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007805/7.1, allocations: 463.1 kB / 2.659 GB, free: 87.67 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-07/7.1, allocations: 0 / 2.659 GB, free: 87.67 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00138/7.102, allocations: 323.2 kB / 2.659 GB, free: 87.36 MB / 0.573 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.004699/7.106, allocations: 2.3 MB / 2.661 GB, free: 85.15 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001852/7.108, allocations: 0.6478 MB / 2.662 GB, free: 84.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/7.108, allocations: 0 / 2.662 GB, free: 84.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/7.109, allocations: 444.5 kB / 2.662 GB, free: 84.05 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/7.111, allocations: 248.8 kB / 2.663 GB, free: 83.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/7.117, allocations: 1.484 MB / 2.664 GB, free: 82.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/7.117, allocations: 1.007 MB / 2.665 GB, free: 81.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001249/7.119, allocations: 253.8 kB / 2.665 GB, free: 81.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/7.119, allocations: 331.3 kB / 2.666 GB, free: 80.69 MB / 0.573 GB Notification: Performance of SimCode: time 1.503e-06/7.119, allocations: 0 / 2.666 GB, free: 80.69 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08332/7.203, allocations: 29.99 MB / 2.695 GB, free: 50.93 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/7.203, allocations: 254.9 kB / 2.695 GB, free: 50.59 MB / 0.573 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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1