Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.777/2.777, allocations: 288.1 MB / 300.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.888e-05, allocations: 2.781 kB / 370.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 67.01 MB / 437.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.936/7.086, allocations: 2.157 GB / 2.585 GB, free: 144.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/7.087, allocations: 82.31 kB / 2.585 GB, free: 144.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.3831/7.47, allocations: 77.88 MB / 2.661 GB, free: 84.89 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.335e-06/7.47, allocations: 0 / 2.661 GB, free: 84.89 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001047/7.47, allocations: 31.94 kB / 2.661 GB, free: 84.86 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002743/7.473, allocations: 1.236 MB / 2.662 GB, free: 83.65 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/7.473, allocations: 12.03 kB / 2.662 GB, free: 83.64 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/7.473, allocations: 169.7 kB / 2.662 GB, free: 83.54 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/7.475, allocations: 214.2 kB / 2.663 GB, free: 83.32 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/7.476, allocations: 0.7109 MB / 2.663 GB, free: 82.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/7.476, allocations: 86.25 kB / 2.663 GB, free: 82.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/7.477, allocations: 108 kB / 2.663 GB, free: 82.41 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/7.479, allocations: 1.062 MB / 2.665 GB, free: 81.29 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/7.479, allocations: 0 / 2.665 GB, free: 81.29 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/7.479, allocations: 48 kB / 2.665 GB, free: 81.24 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/7.48, allocations: 28 kB / 2.665 GB, free: 81.21 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/7.482, allocations: 1.16 MB / 2.666 GB, free: 80.05 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007782/7.49, allocations: 3.011 MB / 2.669 GB, free: 76.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/7.492, allocations: 0.7254 MB / 2.669 GB, free: 76.23 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/7.493, allocations: 275.2 kB / 2.67 GB, free: 75.96 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/7.493, allocations: 36.8 kB / 2.67 GB, free: 75.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009549/7.494, allocations: 420.8 kB / 2.67 GB, free: 75.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 4.108e-06/7.494, allocations: 0 / 2.67 GB, free: 75.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.002711/7.497, allocations: 0.7381 MB / 2.671 GB, free: 74.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/7.497, allocations: 244.1 kB / 2.671 GB, free: 74.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/7.498, allocations: 0.6405 MB / 2.672 GB, free: 73.81 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/7.499, allocations: 41.7 kB / 2.672 GB, free: 73.76 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/7.499, allocations: 495.7 kB / 2.672 GB, free: 73.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/7.499, allocations: 264.2 kB / 2.672 GB, free: 73.01 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/7.499, allocations: 12 kB / 2.672 GB, free: 73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.054e-05/7.499, allocations: 334 kB / 2.673 GB, free: 72.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/7.5, allocations: 221.5 kB / 2.673 GB, free: 72.45 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/7.501, allocations: 323.5 kB / 2.673 GB, free: 72.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/7.502, allocations: 270 kB / 2.674 GB, free: 71.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/7.502, allocations: 0 / 2.674 GB, free: 71.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002581/7.504, allocations: 0.7499 MB / 2.674 GB, free: 71.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/7.504, allocations: 8 kB / 2.674 GB, free: 71.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/7.504, allocations: 80 / 2.674 GB, free: 71.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009571/7.505, allocations: 84.94 kB / 2.674 GB, free: 70.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/7.507, allocations: 155.7 kB / 2.674 GB, free: 70.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/7.509, allocations: 1.512 MB / 2.676 GB, free: 69.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/7.511, allocations: 83.38 kB / 2.676 GB, free: 69.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/7.511, allocations: 27.98 kB / 2.676 GB, free: 69.07 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 (83): * Single equations (assignments): 82 * 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.0002707/7.511, allocations: 154 kB / 2.676 GB, free: 68.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/7.511, allocations: 90.86 kB / 2.676 GB, free: 68.82 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/7.515, allocations: 0.9865 MB / 2.677 GB, free: 67.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/7.515, allocations: 8 kB / 2.677 GB, free: 67.81 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/7.515, allocations: 0 / 2.677 GB, free: 67.81 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/7.515, allocations: 7.984 kB / 2.677 GB, free: 67.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/7.517, allocations: 1.005 MB / 2.678 GB, free: 66.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/7.517, allocations: 0 / 2.678 GB, free: 66.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/7.518, allocations: 151.8 kB / 2.678 GB, free: 66.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/7.519, allocations: 84.72 kB / 2.678 GB, free: 66.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/7.519, allocations: 27.97 kB / 2.679 GB, free: 66.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/7.521, allocations: 1.544 MB / 2.68 GB, free: 64.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.521, allocations: 0 / 2.68 GB, free: 64.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/7.524, allocations: 0.8401 MB / 2.681 GB, free: 63.94 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/7.525, allocations: 291.7 kB / 2.681 GB, free: 63.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/7.525, allocations: 19.95 kB / 2.681 GB, free: 63.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/7.526, allocations: 67.95 kB / 2.681 GB, free: 63.55 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/7.526, allocations: 64.62 kB / 2.681 GB, free: 63.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/7.527, allocations: 31.98 kB / 2.681 GB, free: 63.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001063/7.528, allocations: 0.5148 MB / 2.682 GB, free: 62.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.41e-07/7.528, allocations: 0 / 2.682 GB, free: 62.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001943/7.53, allocations: 378.7 kB / 2.682 GB, free: 62.57 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.005372/7.535, allocations: 2.315 MB / 2.684 GB, free: 60.36 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00213/7.537, allocations: 0.7103 MB / 2.685 GB, free: 59.63 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.576e-05/7.537, allocations: 4 kB / 2.685 GB, free: 59.63 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/7.538, allocations: 476.5 kB / 2.686 GB, free: 59.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/7.541, allocations: 246.8 kB / 2.686 GB, free: 58.91 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/7.548, allocations: 1.758 MB / 2.688 GB, free: 57.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/7.548, allocations: 1.106 MB / 2.689 GB, free: 55.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00156/7.55, allocations: 258.7 kB / 2.689 GB, free: 55.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00096/7.551, allocations: 447.3 kB / 2.689 GB, free: 55.29 MB / 0.573 GB Notification: Performance of SimCode: time 1.683e-06/7.551, allocations: 0 / 2.689 GB, free: 55.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09001/7.641, allocations: 32.25 MB / 2.721 GB, free: 23.27 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/7.641, allocations: 243.4 kB / 2.721 GB, free: 22.93 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_SolarIrradiation_Examples_DiffuseIsotropic.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_SolarIrradiation_Examples_DiffuseIsotropic_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_SolarIrradiation_Examples_DiffuseIsotropic_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o] Error 1