Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.951/2.951, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.15e-05, allocations: 3.141 kB / 370.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 66.99 MB / 437.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.922/7.079, allocations: 2.156 GB / 2.584 GB, free: 144.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/7.08, allocations: 87.53 kB / 2.584 GB, free: 144.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.3792/7.459, allocations: 89.55 MB / 2.671 GB, free: 71.94 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.873e-06/7.459, allocations: 3.938 kB / 2.671 GB, free: 71.94 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001638/7.459, allocations: 43.94 kB / 2.671 GB, free: 71.89 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.004052/7.463, allocations: 1.625 MB / 2.673 GB, free: 70.21 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/7.463, allocations: 8.031 kB / 2.673 GB, free: 70.2 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003682/7.464, allocations: 198.4 kB / 2.673 GB, free: 70 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/7.467, allocations: 373.3 kB / 2.674 GB, free: 69.63 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/7.47, allocations: 1.007 MB / 2.675 GB, free: 68.57 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/7.47, allocations: 102.6 kB / 2.675 GB, free: 68.47 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/7.47, allocations: 128 kB / 2.675 GB, free: 68.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/7.473, allocations: 1.421 MB / 2.676 GB, free: 66.83 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/7.473, allocations: 7.922 kB / 2.676 GB, free: 66.82 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/7.474, allocations: 60 kB / 2.676 GB, free: 66.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/7.474, allocations: 32 kB / 2.676 GB, free: 66.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/7.478, allocations: 1.921 MB / 2.678 GB, free: 64.81 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/7.49, allocations: 4.464 MB / 2.682 GB, free: 60.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/7.493, allocations: 1.318 MB / 2.684 GB, free: 58.91 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/7.494, allocations: 0.5048 MB / 2.684 GB, free: 58.41 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/7.494, allocations: 65.17 kB / 2.684 GB, free: 58.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/7.496, allocations: 0.7321 MB / 2.685 GB, free: 57.59 MB / 0.573 GB Notification: Performance of pre-optimization done (n=136): time 3.987e-06/7.496, allocations: 0 / 2.685 GB, free: 57.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=136): time 0.004758/7.501, allocations: 1.313 MB / 2.686 GB, free: 56.26 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/7.501, allocations: 458.1 kB / 2.687 GB, free: 55.71 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/7.503, allocations: 1.035 MB / 2.688 GB, free: 54.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/7.503, allocations: 53.7 kB / 2.688 GB, free: 54.61 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/7.504, allocations: 0.6069 MB / 2.688 GB, free: 53.99 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/7.504, allocations: 449.4 kB / 2.689 GB, free: 53.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/7.504, allocations: 24 kB / 2.689 GB, free: 53.52 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.947e-05/7.505, allocations: 353.9 kB / 2.689 GB, free: 53.17 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/7.506, allocations: 390.5 kB / 2.69 GB, free: 52.79 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/7.507, allocations: 0.6087 MB / 2.69 GB, free: 52.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/7.508, allocations: 485.2 kB / 2.691 GB, free: 51.64 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/7.508, allocations: 0 / 2.691 GB, free: 51.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004876/7.513, allocations: 1.329 MB / 2.692 GB, free: 50.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/7.513, allocations: 8 kB / 2.692 GB, free: 50.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/7.513, allocations: 0 / 2.692 GB, free: 50.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/7.515, allocations: 169.6 kB / 2.692 GB, free: 50.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/7.517, allocations: 271.6 kB / 2.692 GB, free: 49.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005001/7.523, allocations: 3.057 MB / 2.695 GB, free: 46.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/7.525, allocations: 162.8 kB / 2.695 GB, free: 46.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/7.525, allocations: 51.97 kB / 2.696 GB, free: 46.29 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004951/7.526, allocations: 188.7 kB / 2.696 GB, free: 46.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/7.526, allocations: 146.2 kB / 2.696 GB, free: 45.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/7.534, allocations: 1.903 MB / 2.698 GB, free: 44.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/7.534, allocations: 19.98 kB / 2.698 GB, free: 44.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/7.534, allocations: 0 / 2.698 GB, free: 44.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/7.534, allocations: 11.97 kB / 2.698 GB, free: 44 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/7.537, allocations: 1.521 MB / 2.699 GB, free: 42.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/7.537, allocations: 0 / 2.699 GB, free: 42.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/7.539, allocations: 275.7 kB / 2.699 GB, free: 42.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/7.541, allocations: 173.5 kB / 2.7 GB, free: 41.99 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/7.541, allocations: 47.97 kB / 2.7 GB, free: 41.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/7.546, allocations: 3.096 MB / 2.703 GB, free: 38.57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.546, allocations: 0 / 2.703 GB, free: 38.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/7.551, allocations: 1.551 MB / 2.704 GB, free: 36.99 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/7.552, allocations: 482.5 kB / 2.705 GB, free: 36.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/7.553, allocations: 28 kB / 2.705 GB, free: 36.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/7.555, allocations: 135.9 kB / 2.705 GB, free: 36.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/7.555, allocations: 113.4 kB / 2.705 GB, free: 36.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/7.556, allocations: 68.03 kB / 2.705 GB, free: 36.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001648/7.557, allocations: 0.817 MB / 2.706 GB, free: 35.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.01e-07/7.557, allocations: 0 / 2.706 GB, free: 35.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002559/7.56, allocations: 0.5261 MB / 2.706 GB, free: 34.81 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007655/7.567, allocations: 3.175 MB / 2.709 GB, free: 31.73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003808/7.571, allocations: 1.32 MB / 2.711 GB, free: 30.39 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/7.571, allocations: 4 kB / 2.711 GB, free: 30.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/7.574, allocations: 0.88 MB / 2.712 GB, free: 29.49 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/7.577, allocations: 469.1 kB / 2.712 GB, free: 29.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/7.59, allocations: 2.835 MB / 2.715 GB, free: 26.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/7.591, allocations: 1.314 MB / 2.716 GB, free: 24.81 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002958/7.594, allocations: 0.5033 MB / 2.717 GB, free: 24.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/7.595, allocations: 0.6554 MB / 2.717 GB, free: 23.64 MB / 0.573 GB Notification: Performance of SimCode: time 1.473e-06/7.595, allocations: 0 / 2.717 GB, free: 23.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6725/8.268, allocations: 48.18 MB / 2.764 GB, free: 161.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/8.268, allocations: 227.5 kB / 2.764 GB, free: 160.8 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_WeatherData_Examples_ReaderTMY3.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_WeatherData_Examples_ReaderTMY3_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_WeatherData_Examples_ReaderTMY3_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1