Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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.003698/0.003698, allocations: 176.3 kB / 7.46 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7347/0.7347, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.6/1.6, 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.001502/0.001502, allocations: 104.8 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.219e-05/1.222e-05, allocations: 0 / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2784, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.639/3.918, allocations: 1.693 GB / 2.326 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/3.918, allocations: 91.47 kB / 2.326 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1303/4.048, allocations: 59.79 MB / 2.385 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.839e-05/4.048, allocations: 31.94 kB / 2.385 GB, free: 214.8 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001729/4.05, allocations: 1.101 MB / 2.386 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/4.05, allocations: 8.031 kB / 2.386 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/4.051, allocations: 202.6 kB / 2.386 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/4.052, allocations: 0.6075 MB / 2.387 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/4.052, allocations: 31.91 kB / 2.387 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/4.052, allocations: 47.94 kB / 2.387 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/4.053, allocations: 0.9835 MB / 2.388 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/4.054, allocations: 0.7233 MB / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/4.054, allocations: 0 / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/4.054, allocations: 3.938 kB / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/4.054, allocations: 20 kB / 2.388 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/4.057, allocations: 2.286 MB / 2.391 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/4.058, allocations: 0.7167 MB / 2.391 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/4.058, allocations: 248.4 kB / 2.391 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/4.059, allocations: 32.67 kB / 2.391 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/4.059, allocations: 378 kB / 2.392 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 1.993e-06/4.059, allocations: 0 / 2.392 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001338/4.06, allocations: 0.6443 MB / 2.392 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/4.06, allocations: 240 kB / 2.393 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/4.061, allocations: 0.4945 MB / 2.393 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/4.061, allocations: 29.7 kB / 2.393 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/4.061, allocations: 296.1 kB / 2.394 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/4.061, allocations: 228.5 kB / 2.394 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/4.061, allocations: 4 kB / 2.394 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/4.061, allocations: 382.7 kB / 2.394 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/4.062, allocations: 185.3 kB / 2.394 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/4.062, allocations: 295.2 kB / 2.395 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/4.062, allocations: 239.1 kB / 2.395 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/4.062, allocations: 0 / 2.395 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001267/4.063, allocations: 0.6443 MB / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/4.063, allocations: 8 kB / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/4.063, allocations: 0 / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/4.064, allocations: 80.88 kB / 2.395 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/4.065, allocations: 147.8 kB / 2.396 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/4.066, allocations: 1.457 MB / 2.397 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/4.067, allocations: 63.61 kB / 2.397 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/4.067, allocations: 23.98 kB / 2.397 GB, free: 201.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0001343/4.067, allocations: 131.4 kB / 2.397 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/4.067, allocations: 67.16 kB / 2.397 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/4.069, allocations: 0.9362 MB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/4.069, allocations: 8 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/4.069, allocations: 0 / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/4.069, allocations: 7.969 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/4.071, allocations: 1.693 MB / 2.4 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/4.071, allocations: 4 kB / 2.4 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/4.072, allocations: 151.7 kB / 2.4 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/4.072, allocations: 88.69 kB / 2.4 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/4.073, allocations: 15.98 kB / 2.4 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/4.074, allocations: 1.48 MB / 2.402 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/4.074, allocations: 0 / 2.402 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001318/4.075, allocations: 0.8283 MB / 2.402 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/4.076, allocations: 275.8 kB / 2.403 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/4.076, allocations: 4 kB / 2.403 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/4.076, allocations: 59.94 kB / 2.403 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/4.076, allocations: 48.7 kB / 2.403 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/4.076, allocations: 31.98 kB / 2.403 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000383/4.077, allocations: 402.9 kB / 2.403 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009594/4.078, allocations: 335 kB / 2.404 GB, free: 194.8 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 (87): * Single equations (assignments): 84 * 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.00134/4.079, allocations: 1.042 MB / 2.405 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009662/4.08, allocations: 0.6506 MB / 2.405 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/4.08, allocations: 0 / 2.405 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/4.081, allocations: 448.8 kB / 2.406 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/4.082, allocations: 212.5 kB / 2.406 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/4.085, allocations: 1.339 MB / 2.407 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/4.086, allocations: 1.127 MB / 2.408 GB, free: 190 MB / 0.6823 GB Notification: Performance of SimCode: time 3.5e-07/4.086, allocations: 0 / 2.408 GB, free: 190 MB / 0.6823 GB Notification: Performance of Templates: time 0.02289/4.108, allocations: 16.64 MB / 2.424 GB, free: 173.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)