Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 3.108/3.108, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.649e-05, allocations: 2.469 kB / 370.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 67 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.894/7.04, allocations: 2.159 GB / 2.587 GB, free: 144 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/7.04, allocations: 89.61 kB / 2.587 GB, free: 144 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.3171/7.357, allocations: 81.83 MB / 2.667 GB, free: 80.6 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.837e-06/7.357, allocations: 0 / 2.667 GB, free: 80.6 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001519/7.357, allocations: 27.94 kB / 2.667 GB, free: 80.57 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.004276/7.362, allocations: 1.286 MB / 2.668 GB, free: 79.23 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/7.362, allocations: 16.03 kB / 2.668 GB, free: 79.21 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006622/7.362, allocations: 177.6 kB / 2.668 GB, free: 79.03 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/7.364, allocations: 230 kB / 2.668 GB, free: 78.8 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/7.367, allocations: 0.7444 MB / 2.669 GB, free: 78.02 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/7.367, allocations: 128 kB / 2.669 GB, free: 77.88 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/7.367, allocations: 112 kB / 2.669 GB, free: 77.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/7.371, allocations: 1.182 MB / 2.67 GB, free: 76.53 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/7.371, allocations: 0 / 2.67 GB, free: 76.53 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/7.372, allocations: 52 kB / 2.67 GB, free: 76.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/7.372, allocations: 32 kB / 2.67 GB, free: 76.45 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/7.375, allocations: 1.289 MB / 2.672 GB, free: 75.16 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/7.386, allocations: 3.344 MB / 2.675 GB, free: 71.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/7.388, allocations: 0.8555 MB / 2.676 GB, free: 70.87 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/7.389, allocations: 355.1 kB / 2.676 GB, free: 70.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/7.39, allocations: 40.7 kB / 2.676 GB, free: 70.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/7.391, allocations: 0.5075 MB / 2.677 GB, free: 69.96 MB / 0.573 GB Notification: Performance of pre-optimization done (n=93): time 5.911e-06/7.391, allocations: 3.938 kB / 2.677 GB, free: 69.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=93): time 0.004344/7.396, allocations: 0.8864 MB / 2.678 GB, free: 69.05 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/7.396, allocations: 248.1 kB / 2.678 GB, free: 68.76 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/7.398, allocations: 0.6879 MB / 2.678 GB, free: 68.06 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003509/7.398, allocations: 41.7 kB / 2.679 GB, free: 68.01 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006327/7.399, allocations: 0.5154 MB / 2.679 GB, free: 67.49 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/7.399, allocations: 303.6 kB / 2.679 GB, free: 67.19 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/7.399, allocations: 16 kB / 2.679 GB, free: 67.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001127/7.4, allocations: 345.9 kB / 2.68 GB, free: 66.83 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/7.401, allocations: 278 kB / 2.68 GB, free: 66.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/7.402, allocations: 414.3 kB / 2.68 GB, free: 66.12 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/7.404, allocations: 352.8 kB / 2.681 GB, free: 65.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/7.404, allocations: 0 / 2.681 GB, free: 65.78 MB / 0.573 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004853/7.409, allocations: 0.9268 MB / 2.682 GB, free: 64.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/7.409, allocations: 8 kB / 2.682 GB, free: 64.83 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/7.409, allocations: 0 / 2.682 GB, free: 64.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/7.41, allocations: 88.78 kB / 2.682 GB, free: 64.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/7.412, allocations: 179.8 kB / 2.682 GB, free: 64.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/7.416, allocations: 1.533 MB / 2.683 GB, free: 62.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/7.418, allocations: 111.2 kB / 2.683 GB, free: 62.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/7.418, allocations: 35.97 kB / 2.683 GB, free: 62.75 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0004109/7.418, allocations: 157.4 kB / 2.684 GB, free: 62.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/7.419, allocations: 94.78 kB / 2.684 GB, free: 62.49 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/7.425, allocations: 1.266 MB / 2.685 GB, free: 61.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/7.425, allocations: 12 kB / 2.685 GB, free: 61.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/7.425, allocations: 0 / 2.685 GB, free: 61.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/7.425, allocations: 7.969 kB / 2.685 GB, free: 61.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008301/7.433, allocations: 2.412 MB / 2.687 GB, free: 58.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/7.434, allocations: 0 / 2.687 GB, free: 58.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/7.436, allocations: 179.7 kB / 2.687 GB, free: 58.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/7.437, allocations: 88.77 kB / 2.688 GB, free: 58.46 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/7.437, allocations: 27.98 kB / 2.688 GB, free: 58.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/7.44, allocations: 1.552 MB / 2.689 GB, free: 56.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/7.44, allocations: 3.953 kB / 2.689 GB, free: 56.74 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/7.444, allocations: 1.07 MB / 2.69 GB, free: 55.64 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/7.446, allocations: 343.4 kB / 2.69 GB, free: 55.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/7.446, allocations: 31.94 kB / 2.691 GB, free: 55.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/7.448, allocations: 71.95 kB / 2.691 GB, free: 55.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/7.448, allocations: 72.89 kB / 2.691 GB, free: 55.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/7.448, allocations: 35.97 kB / 2.691 GB, free: 55.08 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00158/7.45, allocations: 0.5773 MB / 2.691 GB, free: 54.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.923e-06/7.45, allocations: 4 kB / 2.691 GB, free: 54.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002668/7.453, allocations: 418.6 kB / 2.692 GB, free: 54.1 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 (107): * Single equations (assignments): 104 * 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.00792/7.461, allocations: 2.529 MB / 2.694 GB, free: 51.67 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003766/7.464, allocations: 0.8735 MB / 2.695 GB, free: 50.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/7.465, allocations: 0 / 2.695 GB, free: 50.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002227/7.467, allocations: 0.5444 MB / 2.695 GB, free: 50.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/7.47, allocations: 258.8 kB / 2.696 GB, free: 49.98 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/7.478, allocations: 1.94 MB / 2.698 GB, free: 48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/7.479, allocations: 1.149 MB / 2.699 GB, free: 46.82 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001723/7.481, allocations: 307.5 kB / 2.699 GB, free: 46.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/7.482, allocations: 499.2 kB / 2.7 GB, free: 46.03 MB / 0.573 GB Notification: Performance of SimCode: time 1.162e-06/7.482, allocations: 0 / 2.7 GB, free: 46.03 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09616/7.578, allocations: 35.52 MB / 2.734 GB, free: 10.74 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/7.579, allocations: 242.6 kB / 2.734 GB, free: 10.41 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_DirectTiltedSurface.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_DirectTiltedSurface_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_DirectTiltedSurface_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_DirectTiltedSurface_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o] Error 1