Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 15.79 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 182.9 kB / 316 MB, free: 7.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 0.5667 GB, free: 23.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008266/0.0008267, allocations: 84.77 kB / 0.671 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2294/0.2303, allocations: 112.5 MB / 0.7808 GB, free: 380 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.7305, allocations: 106.3 MB / 0.8846 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.128/4.858, allocations: 2.189 GB / 3.074 GB, free: 328.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/4.859, allocations: 83.59 kB / 3.074 GB, free: 328.1 MB / 0.8698 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.1984/5.057, allocations: 92.49 MB / 3.164 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/5.057, allocations: 12 kB / 3.164 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/5.059, allocations: 393.4 kB / 3.164 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/5.06, allocations: 1.019 MB / 3.165 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/5.06, allocations: 40 kB / 3.165 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/5.06, allocations: 80 kB / 3.165 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002219/5.063, allocations: 1.867 MB / 3.167 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/5.064, allocations: 1.257 MB / 3.169 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/5.064, allocations: 7.938 kB / 3.169 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/5.064, allocations: 4 kB / 3.169 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/5.064, allocations: 32 kB / 3.169 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/5.07, allocations: 4.244 MB / 3.173 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/5.072, allocations: 1.271 MB / 3.174 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/5.073, allocations: 481.4 kB / 3.174 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/5.073, allocations: 53.3 kB / 3.174 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/5.074, allocations: 0.6888 MB / 3.175 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 3.416e-06/5.074, allocations: 3.938 kB / 3.175 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.002904/5.076, allocations: 1.24 MB / 3.176 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/5.077, allocations: 462.3 kB / 3.177 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/5.078, allocations: 0.9103 MB / 3.178 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/5.078, allocations: 33.7 kB / 3.178 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/5.078, allocations: 436.7 kB / 3.178 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/5.079, allocations: 425.5 kB / 3.179 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/5.079, allocations: 4 kB / 3.179 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/5.079, allocations: 345.9 kB / 3.179 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/5.079, allocations: 374.5 kB / 3.179 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/5.08, allocations: 0.5892 MB / 3.18 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/5.081, allocations: 483.8 kB / 3.18 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/5.081, allocations: 4 kB / 3.18 GB, free: 227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00253/5.083, allocations: 1.26 MB / 3.181 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/5.083, allocations: 10.5 kB / 3.182 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/5.083, allocations: 4.125 kB / 3.182 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/5.084, allocations: 169.5 kB / 3.182 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/5.085, allocations: 275.6 kB / 3.182 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/5.088, allocations: 2.937 MB / 3.185 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/5.089, allocations: 131.1 kB / 3.185 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/5.089, allocations: 55.95 kB / 3.185 GB, free: 222 MB / 0.8698 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.0002205/5.09, allocations: 136.7 kB / 3.185 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/5.09, allocations: 138.5 kB / 3.185 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/5.094, allocations: 1.876 MB / 3.187 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/5.094, allocations: 16 kB / 3.187 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/5.094, allocations: 4 kB / 3.187 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/5.094, allocations: 11.97 kB / 3.187 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/5.095, allocations: 1.32 MB / 3.188 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.095, allocations: 0 / 3.188 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/5.096, allocations: 283.6 kB / 3.189 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/5.097, allocations: 165.6 kB / 3.189 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/5.097, allocations: 27.97 kB / 3.189 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/5.1, allocations: 2.976 MB / 3.192 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/5.1, allocations: 4 kB / 3.192 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003114/5.103, allocations: 1.456 MB / 3.193 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002658/5.106, allocations: 1.89 MB / 3.195 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/5.107, allocations: 466.7 kB / 3.195 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/5.107, allocations: 7.906 kB / 3.195 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/5.108, allocations: 115.9 kB / 3.196 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/5.108, allocations: 101.4 kB / 3.196 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/5.108, allocations: 56.16 kB / 3.196 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007752/5.109, allocations: 0.7153 MB / 3.196 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001859/5.111, allocations: 0.5455 MB / 3.197 GB, free: 209.3 MB / 0.8698 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.00142/5.112, allocations: 1.09 MB / 3.198 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001978/5.114, allocations: 1.274 MB / 3.199 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/5.114, allocations: 7.938 kB / 3.199 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/5.115, allocations: 0.8527 MB / 3.2 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/5.117, allocations: 422.9 kB / 3.201 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/5.123, allocations: 2.539 MB / 3.203 GB, free: 203 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/5.125, allocations: 1.517 MB / 3.204 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/5.125, allocations: 0 / 3.204 GB, free: 201.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)