Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.859/2.859, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.255e-05, allocations: 3.406 kB / 370.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 67 MB / 437.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.82/6.967, allocations: 2.158 GB / 2.586 GB, free: 144.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/6.968, allocations: 83.61 kB / 2.586 GB, free: 144.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4513/7.419, allocations: 92.08 MB / 2.676 GB, free: 71.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.344e-06/7.419, allocations: 0 / 2.676 GB, free: 71.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001714/7.419, allocations: 32 kB / 2.676 GB, free: 71.38 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005181/7.424, allocations: 1.374 MB / 2.677 GB, free: 69.96 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/7.424, allocations: 12.03 kB / 2.677 GB, free: 69.95 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005546/7.425, allocations: 198.8 kB / 2.677 GB, free: 69.74 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/7.427, allocations: 245.8 kB / 2.677 GB, free: 69.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/7.43, allocations: 0.7599 MB / 2.678 GB, free: 68.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/7.43, allocations: 110.7 kB / 2.678 GB, free: 68.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/7.431, allocations: 132 kB / 2.678 GB, free: 68.46 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005173/7.436, allocations: 1.316 MB / 2.68 GB, free: 67.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-05/7.436, allocations: 0 / 2.68 GB, free: 67.09 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/7.437, allocations: 60 kB / 2.68 GB, free: 67.03 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/7.437, allocations: 36 kB / 2.68 GB, free: 66.99 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005866/7.442, allocations: 1.399 MB / 2.681 GB, free: 65.59 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/7.457, allocations: 3.615 MB / 2.685 GB, free: 61.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/7.461, allocations: 0.8906 MB / 2.685 GB, free: 61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/7.463, allocations: 392.7 kB / 2.686 GB, free: 60.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/7.463, allocations: 49.06 kB / 2.686 GB, free: 60.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/7.465, allocations: 0.5456 MB / 2.686 GB, free: 60 MB / 0.573 GB Notification: Performance of pre-optimization done (n=104): time 7.013e-06/7.465, allocations: 0 / 2.686 GB, free: 60 MB / 0.573 GB Notification: Performance of matching and sorting (n=104): time 0.005112/7.47, allocations: 0.9656 MB / 2.687 GB, free: 59.02 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/7.47, allocations: 252.3 kB / 2.688 GB, free: 58.72 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/7.473, allocations: 0.7037 MB / 2.688 GB, free: 58.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004128/7.474, allocations: 49.7 kB / 2.688 GB, free: 57.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/7.474, allocations: 0.5543 MB / 2.689 GB, free: 57.39 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008495/7.475, allocations: 347 kB / 2.689 GB, free: 57.05 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/7.476, allocations: 16 kB / 2.689 GB, free: 57.03 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001644/7.476, allocations: 341.9 kB / 2.69 GB, free: 56.69 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/7.477, allocations: 317.9 kB / 2.69 GB, free: 56.38 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/7.48, allocations: 433.5 kB / 2.69 GB, free: 55.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/7.482, allocations: 388.8 kB / 2.691 GB, free: 55.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/7.482, allocations: 0 / 2.691 GB, free: 55.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005177/7.487, allocations: 1.02 MB / 2.692 GB, free: 54.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/7.487, allocations: 8 kB / 2.692 GB, free: 54.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/7.487, allocations: 0 / 2.692 GB, free: 54.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/7.489, allocations: 84.84 kB / 2.692 GB, free: 54.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/7.492, allocations: 211.7 kB / 2.692 GB, free: 54.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/7.496, allocations: 1.525 MB / 2.693 GB, free: 52.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/7.498, allocations: 107 kB / 2.694 GB, free: 52.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006001/7.499, allocations: 43.95 kB / 2.694 GB, free: 52.4 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 (116): * Single equations (assignments): 115 * 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.0005028/7.499, allocations: 166.1 kB / 2.694 GB, free: 52.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/7.5, allocations: 102.7 kB / 2.694 GB, free: 52.13 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/7.507, allocations: 1.364 MB / 2.695 GB, free: 50.76 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/7.507, allocations: 12 kB / 2.695 GB, free: 50.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/7.507, allocations: 0 / 2.695 GB, free: 50.75 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/7.507, allocations: 11.88 kB / 2.695 GB, free: 50.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007443/7.514, allocations: 2.555 MB / 2.698 GB, free: 48.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/7.514, allocations: 4 kB / 2.698 GB, free: 48.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/7.516, allocations: 191.7 kB / 2.698 GB, free: 47.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/7.517, allocations: 88.77 kB / 2.698 GB, free: 47.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/7.517, allocations: 27.98 kB / 2.698 GB, free: 47.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/7.52, allocations: 1.559 MB / 2.7 GB, free: 46.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/7.52, allocations: 0 / 2.7 GB, free: 46.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/7.523, allocations: 1.125 MB / 2.701 GB, free: 44.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/7.524, allocations: 363.2 kB / 2.701 GB, free: 44.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/7.524, allocations: 27.98 kB / 2.701 GB, free: 44.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/7.526, allocations: 67.91 kB / 2.701 GB, free: 44.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/7.526, allocations: 80.89 kB / 2.701 GB, free: 44.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/7.526, allocations: 39.97 kB / 2.701 GB, free: 44.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001148/7.527, allocations: 0.6007 MB / 2.702 GB, free: 43.79 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.41e-07/7.527, allocations: 0 / 2.702 GB, free: 43.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001923/7.529, allocations: 442.6 kB / 2.702 GB, free: 43.35 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 (115): * Single equations (assignments): 112 * 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.005699/7.535, allocations: 2.589 MB / 2.705 GB, free: 40.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002793/7.538, allocations: 0.9436 MB / 2.706 GB, free: 39.92 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/7.538, allocations: 0 / 2.706 GB, free: 39.92 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/7.539, allocations: 0.5717 MB / 2.706 GB, free: 39.34 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/7.541, allocations: 252.9 kB / 2.706 GB, free: 39.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/7.549, allocations: 2.093 MB / 2.708 GB, free: 36.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/7.55, allocations: 1.189 MB / 2.71 GB, free: 35.74 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001747/7.552, allocations: 304.1 kB / 2.71 GB, free: 35.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/7.553, allocations: 0.5344 MB / 2.71 GB, free: 34.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.593e-06/7.553, allocations: 0 / 2.71 GB, free: 34.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5617/8.115, allocations: 36.75 MB / 2.746 GB, free: 170.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/8.115, allocations: 244 kB / 2.747 GB, free: 169.9 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_Examples_IncidenceAngle.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_Examples_IncidenceAngle_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_Examples_IncidenceAngle_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_Examples_IncidenceAngle_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o] Error 1