Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003565/0.003565, allocations: 178.8 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6773/0.6773, allocations: 130.6 MB / 138.5 MB, free: 2.168 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 391.4 MB, free: 13.09 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.001025/0.001025, allocations: 101.3 kB / 473.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.915e-06, allocations: 3.656 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1751, allocations: 81.57 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.776/3.951, allocations: 1.693 GB / 2.32 GB, free: 170.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/3.951, allocations: 83.95 kB / 2.32 GB, free: 170 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1948/4.146, allocations: 92 MB / 2.41 GB, free: 77.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001114/4.146, allocations: 43.94 kB / 2.41 GB, free: 77.46 MB / 0.6667 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.002506/4.149, allocations: 1.704 MB / 2.412 GB, free: 75.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/4.149, allocations: 8.031 kB / 2.412 GB, free: 75.69 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/4.151, allocations: 401.3 kB / 2.412 GB, free: 75.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/4.152, allocations: 1.019 MB / 2.413 GB, free: 74.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/4.152, allocations: 44 kB / 2.413 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/4.153, allocations: 76 kB / 2.413 GB, free: 74.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00233/4.155, allocations: 1.882 MB / 2.415 GB, free: 72.22 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/4.157, allocations: 1.281 MB / 2.416 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/4.157, allocations: 0 / 2.416 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/4.157, allocations: 0 / 2.416 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/4.157, allocations: 36 kB / 2.416 GB, free: 70.81 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/4.163, allocations: 4.295 MB / 2.421 GB, free: 66.44 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/4.165, allocations: 1.264 MB / 2.422 GB, free: 65.15 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/4.165, allocations: 473.5 kB / 2.422 GB, free: 64.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/4.166, allocations: 61.22 kB / 2.422 GB, free: 64.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008822/4.166, allocations: 0.6819 MB / 2.423 GB, free: 63.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=136): time 4.288e-06/4.167, allocations: 0 / 2.423 GB, free: 63.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=136): time 0.002986/4.17, allocations: 1.244 MB / 2.424 GB, free: 62.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/4.17, allocations: 458.2 kB / 2.425 GB, free: 62.11 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/4.171, allocations: 0.9186 MB / 2.426 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/4.171, allocations: 29.7 kB / 2.426 GB, free: 61.14 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/4.171, allocations: 448.6 kB / 2.426 GB, free: 60.69 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/4.172, allocations: 425.5 kB / 2.426 GB, free: 60.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/4.172, allocations: 4 kB / 2.426 GB, free: 60.27 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/4.172, allocations: 353.9 kB / 2.427 GB, free: 59.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/4.172, allocations: 374.5 kB / 2.427 GB, free: 59.55 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/4.173, allocations: 0.5737 MB / 2.428 GB, free: 58.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/4.174, allocations: 499.4 kB / 2.428 GB, free: 58.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/4.174, allocations: 0 / 2.428 GB, free: 58.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002939/4.177, allocations: 1.275 MB / 2.429 GB, free: 57.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/4.177, allocations: 6.969 kB / 2.429 GB, free: 57.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/4.177, allocations: 4 kB / 2.429 GB, free: 57.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/4.178, allocations: 157.8 kB / 2.43 GB, free: 56.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/4.179, allocations: 279.6 kB / 2.43 GB, free: 56.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/4.182, allocations: 2.937 MB / 2.433 GB, free: 53.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/4.184, allocations: 131.2 kB / 2.433 GB, free: 53.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/4.184, allocations: 47.97 kB / 2.433 GB, free: 53.33 MB / 0.6667 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.0002646/4.184, allocations: 140.5 kB / 2.433 GB, free: 53.19 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/4.184, allocations: 138.3 kB / 2.433 GB, free: 53.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/4.189, allocations: 1.884 MB / 2.435 GB, free: 51.14 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/4.189, allocations: 19.91 kB / 2.435 GB, free: 51.12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/4.189, allocations: 0 / 2.435 GB, free: 51.12 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/4.189, allocations: 7.969 kB / 2.435 GB, free: 51.11 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/4.19, allocations: 1.331 MB / 2.436 GB, free: 49.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/4.19, allocations: 0 / 2.436 GB, free: 49.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/4.191, allocations: 287.6 kB / 2.437 GB, free: 49.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009858/4.192, allocations: 165.6 kB / 2.437 GB, free: 49.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/4.192, allocations: 27.97 kB / 2.437 GB, free: 49.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/4.195, allocations: 2.972 MB / 2.44 GB, free: 46.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/4.195, allocations: 4.062 kB / 2.44 GB, free: 46.05 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002804/4.198, allocations: 1.456 MB / 2.441 GB, free: 44.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/4.199, allocations: 470.7 kB / 2.441 GB, free: 44.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/4.199, allocations: 8 kB / 2.442 GB, free: 44.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/4.2, allocations: 111.9 kB / 2.442 GB, free: 43.97 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/4.2, allocations: 109.2 kB / 2.442 GB, free: 43.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/4.2, allocations: 67.91 kB / 2.442 GB, free: 43.79 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007865/4.201, allocations: 0.7155 MB / 2.442 GB, free: 43.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001344/4.202, allocations: 0.4986 MB / 2.443 GB, free: 42.57 MB / 0.6667 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.001402/4.204, allocations: 1.124 MB / 2.444 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001851/4.206, allocations: 1.273 MB / 2.445 GB, free: 40.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/4.206, allocations: 4 kB / 2.445 GB, free: 40.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/4.207, allocations: 0.8566 MB / 2.446 GB, free: 39.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/4.209, allocations: 421.8 kB / 2.447 GB, free: 38.92 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/4.215, allocations: 2.554 MB / 2.449 GB, free: 36.31 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/4.216, allocations: 1.517 MB / 2.451 GB, free: 34.77 MB / 0.6667 GB Notification: Performance of SimCode: time 6.61e-07/4.216, allocations: 0 / 2.451 GB, free: 34.77 MB / 0.6667 GB Notification: Performance of Templates: time 0.04252/4.258, allocations: 28.56 MB / 2.478 GB, free: 6.34 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)