Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.00104/0.00104, allocations: 185.2 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9902/0.9902, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007551, allocations: 93.11 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1696/0.1704, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.5663, allocations: 115.3 MB / 0.9638 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.702/3.268, allocations: 2.071 GB / 3.035 GB, free: 47.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/3.268, allocations: 83.58 kB / 3.035 GB, free: 47.13 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.4688/3.737, allocations: 93.23 MB / 3.126 GB, free: 314.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/3.737, allocations: 9.281 kB / 3.126 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/3.74, allocations: 402 kB / 3.126 GB, free: 314.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/3.742, allocations: 1.015 MB / 3.127 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/3.742, allocations: 42.36 kB / 3.127 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/3.742, allocations: 74.91 kB / 3.127 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002683/3.745, allocations: 1.868 MB / 3.129 GB, free: 313.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/3.747, allocations: 1.258 MB / 3.13 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/3.747, allocations: 5.641 kB / 3.13 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/3.747, allocations: 3.469 kB / 3.13 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/3.747, allocations: 40.59 kB / 3.13 GB, free: 312.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006292/3.753, allocations: 4.259 MB / 3.135 GB, free: 310.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/3.755, allocations: 1.259 MB / 3.136 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/3.756, allocations: 470.5 kB / 3.136 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/3.756, allocations: 65.05 kB / 3.136 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009443/3.757, allocations: 0.6901 MB / 3.137 GB, free: 309.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 4.608e-06/3.757, allocations: 1.344 kB / 3.137 GB, free: 309.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.002948/3.76, allocations: 1.236 MB / 3.138 GB, free: 308.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/3.76, allocations: 459.1 kB / 3.139 GB, free: 308.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/3.761, allocations: 0.9109 MB / 3.139 GB, free: 307.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/3.761, allocations: 28.08 kB / 3.139 GB, free: 307.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/3.761, allocations: 446.5 kB / 3.14 GB, free: 307.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/3.762, allocations: 429.7 kB / 3.14 GB, free: 307.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/3.762, allocations: 0 / 3.14 GB, free: 307.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/3.762, allocations: 352.7 kB / 3.141 GB, free: 306.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/3.762, allocations: 375.8 kB / 3.141 GB, free: 306.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/3.763, allocations: 0.5828 MB / 3.142 GB, free: 306.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/3.764, allocations: 497.1 kB / 3.142 GB, free: 306.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/3.764, allocations: 1.312 kB / 3.142 GB, free: 306.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002698/3.767, allocations: 1.264 MB / 3.143 GB, free: 305.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/3.767, allocations: 4.906 kB / 3.143 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/3.767, allocations: 1.875 kB / 3.143 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/3.768, allocations: 172.4 kB / 3.143 GB, free: 305.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/3.769, allocations: 271.3 kB / 3.144 GB, free: 305.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/3.772, allocations: 2.931 MB / 3.147 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/3.773, allocations: 133.3 kB / 3.147 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/3.773, allocations: 52.52 kB / 3.147 GB, free: 302.9 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 () * 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.0002302/3.773, allocations: 138 kB / 3.147 GB, free: 302.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/3.774, allocations: 138.1 kB / 3.147 GB, free: 302.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/3.778, allocations: 1.881 MB / 3.149 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/3.778, allocations: 17.56 kB / 3.149 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/3.778, allocations: 3.938 kB / 3.149 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/3.778, allocations: 7.406 kB / 3.149 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/3.78, allocations: 1.317 MB / 3.15 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/3.78, allocations: 1.25 kB / 3.15 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/3.781, allocations: 282.6 kB / 3.15 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/3.782, allocations: 170.8 kB / 3.151 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/3.782, allocations: 32.75 kB / 3.151 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/3.785, allocations: 2.97 MB / 3.154 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.785, allocations: 1.406 kB / 3.154 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002708/3.787, allocations: 1.466 MB / 3.155 GB, free: 298.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002754/3.79, allocations: 1.888 MB / 3.157 GB, free: 297.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/3.791, allocations: 473 kB / 3.157 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/3.791, allocations: 6.391 kB / 3.157 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/3.792, allocations: 114.5 kB / 3.157 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/3.792, allocations: 99.08 kB / 3.157 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/3.792, allocations: 61.45 kB / 3.158 GB, free: 296.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008178/3.793, allocations: 0.7091 MB / 3.158 GB, free: 296.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001973/3.795, allocations: 0.5462 MB / 3.159 GB, free: 296.2 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) * 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.001439/3.797, allocations: 1.098 MB / 3.16 GB, free: 295.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001876/3.799, allocations: 1.279 MB / 3.161 GB, free: 295.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/3.799, allocations: 4 kB / 3.161 GB, free: 295.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/3.8, allocations: 0.8562 MB / 3.162 GB, free: 294.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/3.801, allocations: 417.1 kB / 3.162 GB, free: 294.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/3.807, allocations: 2.543 MB / 3.165 GB, free: 293.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/3.808, allocations: 1.504 MB / 3.166 GB, free: 293.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/3.808, allocations: 0 / 3.166 GB, free: 293.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)