Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.838/2.838, allocations: 287.3 MB / 302.3 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 177 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001155, allocations: 99.88 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 12.11 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2417, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.774/7.016, allocations: 2.071 GB / 3.05 GB, free: 203.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/7.016, allocations: 91.05 kB / 3.05 GB, free: 203.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3427/7.359, allocations: 90.73 MB / 3.138 GB, free: 121.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.925e-06/7.359, allocations: 0 / 3.138 GB, free: 121.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001945/7.359, allocations: 43.94 kB / 3.139 GB, free: 121.3 MB / 0.948 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.006081/7.365, allocations: 1.85 MB / 3.14 GB, free: 119.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/7.365, allocations: 12.02 kB / 3.14 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008191/7.366, allocations: 202.4 kB / 3.141 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/7.37, allocations: 377.4 kB / 3.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/7.373, allocations: 1.007 MB / 3.142 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/7.373, allocations: 94.64 kB / 3.142 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/7.373, allocations: 136 kB / 3.142 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/7.378, allocations: 1.504 MB / 3.144 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/7.378, allocations: 0 / 3.144 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/7.378, allocations: 59.95 kB / 3.144 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/7.378, allocations: 36 kB / 3.144 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005859/7.384, allocations: 2.047 MB / 3.146 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/7.396, allocations: 4.464 MB / 3.15 GB, free: 109.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/7.401, allocations: 1.453 MB / 3.151 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/7.402, allocations: 61.17 kB / 3.151 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/7.404, allocations: 0.7923 MB / 3.152 GB, free: 106.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 4.608e-06/7.404, allocations: 0 / 3.152 GB, free: 106.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.01031/7.414, allocations: 2.156 MB / 3.154 GB, free: 104.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/7.415, allocations: 458.1 kB / 3.155 GB, free: 104.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/7.417, allocations: 1.049 MB / 3.156 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004259/7.417, allocations: 57.7 kB / 3.156 GB, free: 103 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/7.418, allocations: 0.603 MB / 3.156 GB, free: 102.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/7.419, allocations: 445.5 kB / 3.157 GB, free: 102 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/7.419, allocations: 24 kB / 3.157 GB, free: 102 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001045/7.419, allocations: 349.9 kB / 3.157 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/7.421, allocations: 446.4 kB / 3.158 GB, free: 101.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/7.423, allocations: 0.6618 MB / 3.158 GB, free: 100.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/7.425, allocations: 0.5184 MB / 3.159 GB, free: 99.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/7.425, allocations: 3.984 kB / 3.159 GB, free: 99.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006612/7.431, allocations: 1.428 MB / 3.16 GB, free: 98.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/7.431, allocations: 7.984 kB / 3.16 GB, free: 98.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/7.431, allocations: 4 kB / 3.16 GB, free: 98.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/7.433, allocations: 169.8 kB / 3.16 GB, free: 98.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/7.436, allocations: 267.6 kB / 3.161 GB, free: 98.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/7.441, allocations: 3.085 MB / 3.164 GB, free: 94.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/7.443, allocations: 162.9 kB / 3.164 GB, free: 94.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/7.444, allocations: 59.95 kB / 3.164 GB, free: 94.45 MB / 0.948 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 () * Number of clocked 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.001184/7.445, allocations: 377.3 kB / 3.164 GB, free: 94.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/7.445, allocations: 146.2 kB / 3.164 GB, free: 93.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008182/7.454, allocations: 2.03 MB / 3.166 GB, free: 91.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/7.454, allocations: 20 kB / 3.166 GB, free: 91.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/7.454, allocations: 0 / 3.166 GB, free: 91.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/7.454, allocations: 11.97 kB / 3.166 GB, free: 91.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/7.457, allocations: 1.513 MB / 3.168 GB, free: 90.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/7.457, allocations: 4 kB / 3.168 GB, free: 90.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/7.459, allocations: 275.6 kB / 3.168 GB, free: 90 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/7.461, allocations: 181.5 kB / 3.168 GB, free: 89.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/7.461, allocations: 39.97 kB / 3.168 GB, free: 89.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00496/7.466, allocations: 3.147 MB / 3.171 GB, free: 86.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/7.466, allocations: 128 / 3.171 GB, free: 86.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006557/7.473, allocations: 1.645 MB / 3.173 GB, free: 84.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/7.474, allocations: 490.5 kB / 3.173 GB, free: 84.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/7.475, allocations: 32 kB / 3.174 GB, free: 84.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/7.477, allocations: 131.9 kB / 3.174 GB, free: 84.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/7.477, allocations: 121.7 kB / 3.174 GB, free: 83.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/7.478, allocations: 63.97 kB / 3.174 GB, free: 83.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001802/7.479, allocations: 0.835 MB / 3.175 GB, free: 82.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/7.479, allocations: 0 / 3.175 GB, free: 82.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002653/7.482, allocations: 0.5183 MB / 3.175 GB, free: 82.47 MB / 0.948 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) * Number of clocked states: 0 () * 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.009246/7.491, allocations: 3.28 MB / 3.178 GB, free: 79.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005146/7.497, allocations: 1.451 MB / 3.18 GB, free: 77.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/7.497, allocations: 4 kB / 3.18 GB, free: 77.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/7.5, allocations: 0.9576 MB / 3.181 GB, free: 76.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/7.503, allocations: 469.1 kB / 3.181 GB, free: 76.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/7.536, allocations: 10.19 MB / 3.191 GB, free: 65.88 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/7.537, allocations: 1.316 MB / 3.192 GB, free: 64.53 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002965/7.54, allocations: 0.4956 MB / 3.193 GB, free: 64.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/7.541, allocations: 0.6515 MB / 3.193 GB, free: 63.38 MB / 0.948 GB Notification: Performance of SimCode: time 2.324e-06/7.541, allocations: 0 / 3.193 GB, free: 63.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/7.662, allocations: 46.44 MB / 3.239 GB, free: 17.29 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/7.663, allocations: 264.2 kB / 3.239 GB, free: 16.93 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1