Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.003654/0.003654, allocations: 189.4 kB / 7.464 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7399/0.7399, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.385/1.385, allocations: 221.3 MB / 395 MB, free: 10.17 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.001077/0.001076, allocations: 98.84 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.296e-06, allocations: 2.812 kB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1919, allocations: 82.29 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.324/4.516, allocations: 1.694 GB / 2.327 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/4.516, allocations: 92.42 kB / 2.327 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1336/4.65, allocations: 60.21 MB / 2.386 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000103/4.65, allocations: 27.94 kB / 2.386 GB, free: 213.5 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001816/4.652, allocations: 1.101 MB / 2.387 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/4.652, allocations: 8.031 kB / 2.387 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/4.653, allocations: 202.5 kB / 2.387 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008961/4.653, allocations: 0.6192 MB / 2.388 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/4.654, allocations: 28 kB / 2.388 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/4.654, allocations: 48 kB / 2.388 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/4.655, allocations: 1.011 MB / 2.389 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/4.656, allocations: 0.7389 MB / 2.39 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/4.656, allocations: 3.938 kB / 2.39 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/4.656, allocations: 3.906 kB / 2.39 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/4.656, allocations: 20 kB / 2.39 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/4.659, allocations: 2.478 MB / 2.392 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/4.66, allocations: 0.665 MB / 2.393 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/4.661, allocations: 250.7 kB / 2.393 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/4.661, allocations: 28.59 kB / 2.393 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/4.661, allocations: 394.1 kB / 2.394 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.836e-06/4.661, allocations: 0 / 2.394 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001475/4.663, allocations: 0.656 MB / 2.394 GB, free: 205 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/4.663, allocations: 240 kB / 2.394 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/4.663, allocations: 0.5023 MB / 2.395 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/4.663, allocations: 33.69 kB / 2.395 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/4.664, allocations: 308.1 kB / 2.395 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/4.664, allocations: 236.4 kB / 2.395 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/4.664, allocations: 0 / 2.395 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/4.664, allocations: 382.7 kB / 2.396 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/4.664, allocations: 201.3 kB / 2.396 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/4.664, allocations: 306.4 kB / 2.396 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/4.665, allocations: 243.1 kB / 2.397 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/4.665, allocations: 0 / 2.397 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001369/4.666, allocations: 0.6834 MB / 2.397 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/4.666, allocations: 4 kB / 2.397 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/4.666, allocations: 0 / 2.397 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/4.667, allocations: 88.83 kB / 2.397 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/4.668, allocations: 151.8 kB / 2.397 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/4.669, allocations: 1.465 MB / 2.399 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/4.67, allocations: 67.47 kB / 2.399 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/4.67, allocations: 23.98 kB / 2.399 GB, free: 199.9 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 (80): * Single equations (assignments): 79 * 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.0001839/4.67, allocations: 117.6 kB / 2.399 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/4.67, allocations: 75.06 kB / 2.399 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/4.672, allocations: 0.9606 MB / 2.4 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/4.672, allocations: 8 kB / 2.4 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/4.672, allocations: 3.938 kB / 2.4 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/4.672, allocations: 3.984 kB / 2.4 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/4.675, allocations: 1.72 MB / 2.402 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/4.675, allocations: 0 / 2.402 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/4.676, allocations: 151.8 kB / 2.402 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/4.676, allocations: 84.69 kB / 2.402 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/4.676, allocations: 15.98 kB / 2.402 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/4.678, allocations: 1.476 MB / 2.403 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/4.678, allocations: 64 / 2.403 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001493/4.679, allocations: 0.84 MB / 2.404 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/4.68, allocations: 283.7 kB / 2.405 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/4.68, allocations: 3.938 kB / 2.405 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/4.681, allocations: 59.94 kB / 2.405 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/4.681, allocations: 52.7 kB / 2.405 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/4.681, allocations: 27.98 kB / 2.405 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004834/4.681, allocations: 418.9 kB / 2.405 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001122/4.682, allocations: 331.1 kB / 2.405 GB, free: 193.1 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.001481/4.684, allocations: 1.059 MB / 2.406 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001162/4.685, allocations: 0.6625 MB / 2.407 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/4.685, allocations: 3.938 kB / 2.407 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/4.686, allocations: 456.6 kB / 2.408 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009979/4.687, allocations: 217.3 kB / 2.408 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/4.69, allocations: 1.359 MB / 2.409 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/4.691, allocations: 1.138 MB / 2.41 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/4.691, allocations: 0 / 2.41 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.02419/4.715, allocations: 16.94 MB / 2.427 GB, free: 171.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)