Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0029/0.0029, allocations: 183.6 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 130.6 MB / 138.5 MB, free: 2.184 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.334/1.334, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.000998/0.0009979, allocations: 115.3 kB / 473.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.653e-06, allocations: 0 / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 81.58 MB / 0.6276 GB, free: 18.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.36/4.529, allocations: 1.694 GB / 2.322 GB, free: 184 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/4.53, allocations: 79.95 kB / 2.322 GB, free: 183.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.2061/4.736, allocations: 94.77 MB / 2.414 GB, free: 88.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001873/4.736, allocations: 36 kB / 2.415 GB, free: 88.79 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004748/4.741, allocations: 1.442 MB / 2.416 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/4.741, allocations: 8.031 kB / 2.416 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/4.743, allocations: 253.8 kB / 2.416 GB, free: 87.04 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/4.745, allocations: 0.7754 MB / 2.417 GB, free: 86.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/4.745, allocations: 48 kB / 2.417 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/4.745, allocations: 83.94 kB / 2.417 GB, free: 86.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002561/4.748, allocations: 1.376 MB / 2.418 GB, free: 84.71 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/4.75, allocations: 1.181 MB / 2.42 GB, free: 83.47 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/4.75, allocations: 4 kB / 2.42 GB, free: 83.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/4.75, allocations: 4 kB / 2.42 GB, free: 83.46 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/4.75, allocations: 36 kB / 2.42 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006536/4.757, allocations: 3.959 MB / 2.423 GB, free: 79.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/4.758, allocations: 0.8473 MB / 2.424 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/4.758, allocations: 351.8 kB / 2.425 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/4.759, allocations: 48.91 kB / 2.425 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006875/4.759, allocations: 0.5105 MB / 2.425 GB, free: 77.54 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=104): time 3.687e-06/4.759, allocations: 4 kB / 2.425 GB, free: 77.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104): time 0.002088/4.761, allocations: 0.8897 MB / 2.426 GB, free: 76.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/4.761, allocations: 248.3 kB / 2.426 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/4.762, allocations: 0.5935 MB / 2.427 GB, free: 75.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/4.762, allocations: 29.7 kB / 2.427 GB, free: 75.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/4.763, allocations: 483.5 kB / 2.427 GB, free: 75.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/4.763, allocations: 327 kB / 2.428 GB, free: 74.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/4.763, allocations: 0 / 2.428 GB, free: 74.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001119/4.763, allocations: 394.6 kB / 2.428 GB, free: 74.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/4.764, allocations: 305.9 kB / 2.428 GB, free: 74.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/4.764, allocations: 425.4 kB / 2.429 GB, free: 73.76 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/4.765, allocations: 366.8 kB / 2.429 GB, free: 73.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/4.765, allocations: 0 / 2.429 GB, free: 73.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00198/4.767, allocations: 0.9561 MB / 2.43 GB, free: 72.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/4.767, allocations: 4 kB / 2.43 GB, free: 72.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/4.767, allocations: 0 / 2.43 GB, free: 72.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/4.767, allocations: 88.83 kB / 2.43 GB, free: 72.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/4.768, allocations: 219.7 kB / 2.43 GB, free: 72.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/4.77, allocations: 1.465 MB / 2.432 GB, free: 70.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/4.771, allocations: 87.25 kB / 2.432 GB, free: 70.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/4.771, allocations: 43.97 kB / 2.432 GB, free: 70.41 MB / 0.6667 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.0002228/4.771, allocations: 120.8 kB / 2.432 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/4.772, allocations: 94.81 kB / 2.432 GB, free: 70.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/4.775, allocations: 1.307 MB / 2.433 GB, free: 68.87 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/4.775, allocations: 12 kB / 2.433 GB, free: 68.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/4.775, allocations: 4 kB / 2.433 GB, free: 68.85 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/4.775, allocations: 3.984 kB / 2.433 GB, free: 68.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/4.779, allocations: 2.348 MB / 2.436 GB, free: 66.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/4.779, allocations: 3.938 kB / 2.436 GB, free: 66.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/4.78, allocations: 195.8 kB / 2.436 GB, free: 66.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/4.78, allocations: 80.78 kB / 2.436 GB, free: 66.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/4.781, allocations: 27.88 kB / 2.436 GB, free: 66.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/4.782, allocations: 1.484 MB / 2.437 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/4.782, allocations: 0 / 2.437 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002063/4.784, allocations: 1.06 MB / 2.438 GB, free: 63.46 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/4.785, allocations: 351.3 kB / 2.439 GB, free: 63.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/4.785, allocations: 4.062 kB / 2.439 GB, free: 63.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/4.786, allocations: 55.95 kB / 2.439 GB, free: 63.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/4.786, allocations: 68.89 kB / 2.439 GB, free: 62.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/4.786, allocations: 39.97 kB / 2.439 GB, free: 62.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007828/4.787, allocations: 0.4991 MB / 2.439 GB, free: 62.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001673/4.789, allocations: 438.3 kB / 2.44 GB, free: 62 MB / 0.6667 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.002132/4.791, allocations: 1.057 MB / 2.441 GB, free: 61.03 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001701/4.793, allocations: 0.9086 MB / 2.442 GB, free: 60.11 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/4.793, allocations: 3.938 kB / 2.442 GB, free: 60.11 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008993/4.794, allocations: 0.5561 MB / 2.442 GB, free: 59.54 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/4.795, allocations: 221 kB / 2.443 GB, free: 59.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/4.8, allocations: 1.833 MB / 2.444 GB, free: 57.46 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/4.802, allocations: 1.332 MB / 2.446 GB, free: 56.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.503e-06/4.802, allocations: 0 / 2.446 GB, free: 56.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.03301/4.835, allocations: 20.17 MB / 2.465 GB, free: 36.01 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)