Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [: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.002466/0.002466, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6283/0.6283, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.355/1.355, 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.001014/0.001014, allocations: 99.02 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.125e-06, allocations: 2.844 kB / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/4.614, allocations: 1.693 GB / 2.326 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/4.614, allocations: 94.34 kB / 2.326 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.138/4.752, allocations: 59.7 MB / 2.384 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.749e-05/4.752, allocations: 24 kB / 2.384 GB, free: 214.2 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002358/4.755, allocations: 1.101 MB / 2.386 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/4.755, allocations: 8.031 kB / 2.386 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009743/4.756, allocations: 198.6 kB / 2.386 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/4.757, allocations: 0.6114 MB / 2.386 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/4.757, allocations: 32 kB / 2.386 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/4.757, allocations: 48 kB / 2.386 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/4.758, allocations: 0.9834 MB / 2.387 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/4.759, allocations: 0.7194 MB / 2.388 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/4.759, allocations: 0 / 2.388 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/4.759, allocations: 4 kB / 2.388 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/4.759, allocations: 16 kB / 2.388 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/4.763, allocations: 2.282 MB / 2.39 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/4.763, allocations: 0.7128 MB / 2.391 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/4.764, allocations: 246.7 kB / 2.391 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/4.764, allocations: 32.69 kB / 2.391 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/4.764, allocations: 378.1 kB / 2.392 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/4.764, allocations: 0 / 2.392 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001444/4.766, allocations: 0.6326 MB / 2.392 GB, free: 206 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/4.766, allocations: 244 kB / 2.393 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/4.767, allocations: 0.4983 MB / 2.393 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/4.767, allocations: 29.7 kB / 2.393 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/4.767, allocations: 288.2 kB / 2.393 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/4.767, allocations: 232.5 kB / 2.394 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/4.767, allocations: 0 / 2.394 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001179/4.767, allocations: 374.8 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/4.767, allocations: 189.3 kB / 2.394 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/4.768, allocations: 282.4 kB / 2.394 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/4.768, allocations: 239 kB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/4.768, allocations: 4 kB / 2.395 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001429/4.77, allocations: 0.6365 MB / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/4.77, allocations: 12.05 kB / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/4.77, allocations: 0 / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/4.77, allocations: 84.78 kB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/4.771, allocations: 135.8 kB / 2.395 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/4.773, allocations: 1.445 MB / 2.397 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/4.774, allocations: 67.59 kB / 2.397 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/4.774, allocations: 31.97 kB / 2.397 GB, free: 201 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002052/4.774, allocations: 123.8 kB / 2.397 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/4.774, allocations: 67.16 kB / 2.397 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/4.776, allocations: 0.9363 MB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/4.776, allocations: 8 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/4.776, allocations: 7.906 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/4.776, allocations: 3.984 kB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/4.779, allocations: 1.693 MB / 2.4 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/4.779, allocations: 0 / 2.4 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/4.779, allocations: 151.7 kB / 2.4 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005213/4.78, allocations: 80.78 kB / 2.4 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/4.78, allocations: 15.98 kB / 2.4 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/4.782, allocations: 1.476 MB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/4.782, allocations: 8 kB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001392/4.783, allocations: 0.8128 MB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/4.783, allocations: 276 kB / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/4.784, allocations: 3.984 kB / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/4.784, allocations: 55.94 kB / 2.402 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/4.784, allocations: 52.64 kB / 2.403 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/4.784, allocations: 39.88 kB / 2.403 GB, free: 195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004705/4.785, allocations: 402.9 kB / 2.403 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001396/4.786, allocations: 335 kB / 2.403 GB, free: 194.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002069/4.788, allocations: 1.041 MB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001249/4.79, allocations: 0.6429 MB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/4.79, allocations: 0 / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/4.79, allocations: 444.6 kB / 2.405 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/4.791, allocations: 215 kB / 2.406 GB, free: 192 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/4.795, allocations: 1.339 MB / 2.407 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007719/4.796, allocations: 1.115 MB / 2.408 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of SimCode: time 9.11e-07/4.796, allocations: 0 / 2.408 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02459/4.82, allocations: 16.61 MB / 2.424 GB, free: 172.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)