Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003002/0.003002, allocations: 176.2 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7541/0.7541, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 90.19 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.879e-06, allocations: 0 / 0.5528 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.222, allocations: 82.29 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.704/3.926, allocations: 1.693 GB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/3.926, allocations: 87.41 kB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2095/4.136, allocations: 92.02 MB / 2.416 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001676/4.136, allocations: 43.94 kB / 2.416 GB, free: 181.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004134/4.14, allocations: 1.696 MB / 2.418 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/4.14, allocations: 8.031 kB / 2.418 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/4.143, allocations: 405.3 kB / 2.418 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/4.145, allocations: 1.023 MB / 2.419 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/4.145, allocations: 44 kB / 2.419 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/4.145, allocations: 76 kB / 2.419 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002739/4.148, allocations: 1.875 MB / 2.421 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/4.15, allocations: 1.273 MB / 2.422 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/4.15, allocations: 0 / 2.422 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/4.15, allocations: 4 kB / 2.422 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/4.15, allocations: 35.94 kB / 2.422 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00691/4.157, allocations: 4.294 MB / 2.426 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/4.159, allocations: 1.266 MB / 2.428 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/4.16, allocations: 473.5 kB / 2.428 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/4.16, allocations: 61.36 kB / 2.428 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009394/4.161, allocations: 0.6898 MB / 2.429 GB, free: 168 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.459e-06/4.161, allocations: 0 / 2.429 GB, free: 168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.003121/4.164, allocations: 1.24 MB / 2.43 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/4.164, allocations: 458.3 kB / 2.431 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/4.166, allocations: 0.9186 MB / 2.431 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/4.166, allocations: 25.7 kB / 2.431 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/4.166, allocations: 456.6 kB / 2.432 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/4.167, allocations: 421.5 kB / 2.432 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/4.167, allocations: 4 kB / 2.432 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/4.167, allocations: 345.9 kB / 2.433 GB, free: 164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/4.167, allocations: 374.5 kB / 2.433 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/4.168, allocations: 0.5865 MB / 2.434 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/4.169, allocations: 495.4 kB / 2.434 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/4.169, allocations: 0 / 2.434 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003102/4.172, allocations: 1.271 MB / 2.435 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/4.172, allocations: 8 kB / 2.435 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/4.172, allocations: 0 / 2.435 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/4.173, allocations: 169.7 kB / 2.435 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/4.175, allocations: 275.6 kB / 2.436 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/4.178, allocations: 2.933 MB / 2.439 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/4.179, allocations: 123.2 kB / 2.439 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/4.18, allocations: 51.97 kB / 2.439 GB, free: 157.4 MB / 0.6823 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.0003418/4.18, allocations: 148.8 kB / 2.439 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/4.18, allocations: 142.3 kB / 2.439 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/4.185, allocations: 1.868 MB / 2.441 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/4.185, allocations: 23.91 kB / 2.441 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/4.185, allocations: 0 / 2.441 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/4.185, allocations: 7.969 kB / 2.441 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/4.187, allocations: 1.331 MB / 2.442 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/4.187, allocations: 0 / 2.442 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/4.188, allocations: 279.6 kB / 2.442 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/4.189, allocations: 173.4 kB / 2.443 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/4.189, allocations: 31.97 kB / 2.443 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/4.192, allocations: 2.968 MB / 2.445 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/4.192, allocations: 4 kB / 2.446 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002907/4.195, allocations: 1.46 MB / 2.447 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/4.196, allocations: 470.7 kB / 2.447 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/4.196, allocations: 8 kB / 2.447 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/4.197, allocations: 116.1 kB / 2.447 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/4.197, allocations: 105.3 kB / 2.448 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/4.197, allocations: 60.08 kB / 2.448 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000938/4.198, allocations: 0.7116 MB / 2.448 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001771/4.2, allocations: 0.4986 MB / 2.449 GB, free: 146.6 MB / 0.6823 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.001892/4.202, allocations: 1.14 MB / 2.45 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002076/4.204, allocations: 1.266 MB / 2.451 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/4.204, allocations: 5.031 kB / 2.451 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/4.205, allocations: 0.8566 MB / 2.452 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/4.207, allocations: 417.8 kB / 2.452 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006841/4.214, allocations: 2.558 MB / 2.455 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/4.216, allocations: 1.513 MB / 2.456 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.91e-07/4.216, allocations: 0 / 2.456 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.04058/4.256, allocations: 28.58 MB / 2.484 GB, free: 110.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)