Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [: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.002413/0.002413, allocations: 176.9 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6562/0.6562, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.212/1.212, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009721/0.0009719, allocations: 101.5 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.023e-06, allocations: 3.938 kB / 0.5528 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1533, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.362/4.515, allocations: 1.695 GB / 2.328 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/4.515, allocations: 86.25 kB / 2.328 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.227/4.742, allocations: 94.76 MB / 2.42 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001427/4.743, allocations: 39.94 kB / 2.42 GB, free: 176.7 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003993/4.747, allocations: 1.442 MB / 2.422 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/4.747, allocations: 8.031 kB / 2.422 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/4.748, allocations: 253.8 kB / 2.422 GB, free: 175 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/4.75, allocations: 0.7754 MB / 2.423 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/4.75, allocations: 48 kB / 2.423 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/4.751, allocations: 80 kB / 2.423 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002559/4.753, allocations: 1.384 MB / 2.424 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/4.755, allocations: 1.177 MB / 2.425 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/4.755, allocations: 4 kB / 2.425 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/4.756, allocations: 0 / 2.425 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/4.756, allocations: 36 kB / 2.425 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006997/4.763, allocations: 3.971 MB / 2.429 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/4.764, allocations: 0.8433 MB / 2.43 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/4.765, allocations: 355.7 kB / 2.43 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/4.765, allocations: 48.91 kB / 2.431 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007462/4.765, allocations: 0.5066 MB / 2.431 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 6.763e-06/4.765, allocations: 4 kB / 2.431 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.002395/4.768, allocations: 0.8897 MB / 2.432 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/4.768, allocations: 252.3 kB / 2.432 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/4.769, allocations: 0.5896 MB / 2.433 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/4.769, allocations: 29.7 kB / 2.433 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/4.77, allocations: 483.5 kB / 2.433 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/4.77, allocations: 330.9 kB / 2.434 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/4.77, allocations: 0 / 2.434 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001766/4.77, allocations: 394.6 kB / 2.434 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/4.771, allocations: 301.9 kB / 2.434 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/4.771, allocations: 421.5 kB / 2.435 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/4.772, allocations: 370.8 kB / 2.435 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/4.772, allocations: 0 / 2.435 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002138/4.774, allocations: 0.9523 MB / 2.436 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/4.774, allocations: 4 kB / 2.436 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/4.774, allocations: 0 / 2.436 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/4.775, allocations: 96.77 kB / 2.436 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/4.776, allocations: 219.7 kB / 2.436 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/4.778, allocations: 1.465 MB / 2.438 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/4.779, allocations: 87.25 kB / 2.438 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/4.779, allocations: 43.97 kB / 2.438 GB, free: 158.3 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 (116): * Single equations (assignments): 115 * 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.0002609/4.779, allocations: 116.8 kB / 2.438 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/4.78, allocations: 90.88 kB / 2.438 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/4.783, allocations: 1.307 MB / 2.439 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/4.783, allocations: 12 kB / 2.439 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/4.783, allocations: 4 kB / 2.439 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/4.783, allocations: 11.91 kB / 2.439 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/4.787, allocations: 2.347 MB / 2.442 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/4.787, allocations: 0 / 2.442 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/4.788, allocations: 195.8 kB / 2.442 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005375/4.789, allocations: 84.72 kB / 2.442 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/4.789, allocations: 27.88 kB / 2.442 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/4.79, allocations: 1.488 MB / 2.443 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/4.79, allocations: 0 / 2.443 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001932/4.792, allocations: 1.06 MB / 2.444 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/4.793, allocations: 351.3 kB / 2.445 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/4.793, allocations: 4 kB / 2.445 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/4.794, allocations: 51.95 kB / 2.445 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/4.794, allocations: 72.88 kB / 2.445 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-05/4.794, allocations: 35.98 kB / 2.445 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007013/4.795, allocations: 0.503 MB / 2.445 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001626/4.796, allocations: 438.3 kB / 2.446 GB, free: 149.9 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 (115): * Single equations (assignments): 112 * 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.002092/4.799, allocations: 1.044 MB / 2.447 GB, free: 149 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001676/4.8, allocations: 0.9048 MB / 2.448 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/4.8, allocations: 0 / 2.448 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/4.801, allocations: 0.56 MB / 2.448 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/4.802, allocations: 226.5 kB / 2.448 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/4.807, allocations: 1.84 MB / 2.45 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/4.809, allocations: 1.339 MB / 2.451 GB, free: 144 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/4.809, allocations: 0 / 2.451 GB, free: 144 MB / 0.6823 GB Notification: Performance of Templates: time 0.03527/4.844, allocations: 20.17 MB / 2.471 GB, free: 123.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)