Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7218/0.7218, allocations: 141.8 MB / 149.1 MB, free: 1.473 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 189.2 kB / 182 MB, free: 0.8672 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.3 MB / 436 MB, free: 5.609 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 96.59 kB / 0.507 GB, free: 2.281 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001839/0.001839, allocations: 272.8 kB / 0.5885 GB, free: 47.36 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.044e-05/1.048e-05, allocations: 1.281 kB / 0.6759 GB, free: 59.71 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 82.78 MB / 0.7567 GB, free: 0.793 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.255/4.462, allocations: 1.69 GB / 2.447 GB, free: 259.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/4.462, allocations: 89.27 kB / 2.447 GB, free: 259.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1407/4.603, allocations: 59.72 MB / 2.505 GB, free: 222.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001157/4.603, allocations: 27.94 kB / 2.505 GB, free: 222.9 MB / 0.6982 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.003306/4.606, allocations: 1.094 MB / 2.506 GB, free: 221.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/4.606, allocations: 8.031 kB / 2.507 GB, free: 221.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/4.608, allocations: 198.5 kB / 2.507 GB, free: 221.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/4.609, allocations: 0.6153 MB / 2.507 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.107e-05/4.61, allocations: 28 kB / 2.507 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/4.61, allocations: 44 kB / 2.507 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/4.612, allocations: 0.9796 MB / 2.508 GB, free: 219.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/4.613, allocations: 0.7233 MB / 2.509 GB, free: 219 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/4.613, allocations: 0 / 2.509 GB, free: 219 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-05/4.613, allocations: 3.906 kB / 2.509 GB, free: 219 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/4.613, allocations: 20 kB / 2.509 GB, free: 219 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/4.617, allocations: 2.266 MB / 2.511 GB, free: 216.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/4.618, allocations: 0.7138 MB / 2.512 GB, free: 215.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/4.619, allocations: 242.8 kB / 2.512 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-05/4.619, allocations: 28.69 kB / 2.512 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/4.619, allocations: 382 kB / 2.513 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=72): time 3.446e-06/4.619, allocations: 0 / 2.513 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=72): time 0.001601/4.621, allocations: 0.6326 MB / 2.513 GB, free: 214.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/4.621, allocations: 244 kB / 2.513 GB, free: 214.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/4.621, allocations: 0.4945 MB / 2.514 GB, free: 213.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/4.622, allocations: 25.7 kB / 2.514 GB, free: 213.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/4.622, allocations: 296.2 kB / 2.514 GB, free: 213.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/4.622, allocations: 228.5 kB / 2.514 GB, free: 213.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/4.622, allocations: 0 / 2.514 GB, free: 213.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/4.622, allocations: 370.8 kB / 2.515 GB, free: 212.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/4.622, allocations: 193.3 kB / 2.515 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/4.623, allocations: 286.4 kB / 2.515 GB, free: 212.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/4.623, allocations: 239 kB / 2.515 GB, free: 212.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/4.623, allocations: 0 / 2.515 GB, free: 212.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0014/4.624, allocations: 0.6366 MB / 2.516 GB, free: 211.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/4.624, allocations: 11.98 kB / 2.516 GB, free: 211.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/4.624, allocations: 0 / 2.516 GB, free: 211.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/4.625, allocations: 80.81 kB / 2.516 GB, free: 211.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/4.626, allocations: 139.8 kB / 2.516 GB, free: 211.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/4.627, allocations: 1.462 MB / 2.518 GB, free: 209.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/4.628, allocations: 67.61 kB / 2.518 GB, free: 209.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/4.628, allocations: 27.97 kB / 2.518 GB, free: 209.6 MB / 0.6982 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.0001779/4.628, allocations: 120.8 kB / 2.518 GB, free: 209.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/4.629, allocations: 75.09 kB / 2.518 GB, free: 209.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/4.631, allocations: 0.9246 MB / 2.519 GB, free: 208.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/4.631, allocations: 12 kB / 2.519 GB, free: 208.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.631, allocations: 3.938 kB / 2.519 GB, free: 208.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/4.631, allocations: 3.984 kB / 2.519 GB, free: 208.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/4.634, allocations: 1.687 MB / 2.521 GB, free: 206.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/4.634, allocations: 0 / 2.521 GB, free: 206.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/4.634, allocations: 143.8 kB / 2.521 GB, free: 206.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/4.635, allocations: 84.69 kB / 2.521 GB, free: 206.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/4.635, allocations: 19.97 kB / 2.521 GB, free: 206.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/4.636, allocations: 1.484 MB / 2.522 GB, free: 204.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/4.636, allocations: 0 / 2.522 GB, free: 204.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001424/4.638, allocations: 0.8167 MB / 2.523 GB, free: 204 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/4.638, allocations: 267.9 kB / 2.523 GB, free: 203.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/4.638, allocations: 4 kB / 2.523 GB, free: 203.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/4.639, allocations: 59.94 kB / 2.523 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/4.639, allocations: 48.77 kB / 2.523 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/4.639, allocations: 39.97 kB / 2.523 GB, free: 203.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005069/4.64, allocations: 402.9 kB / 2.524 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001369/4.641, allocations: 335 kB / 2.524 GB, free: 202.9 MB / 0.6982 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.001882/4.643, allocations: 1.051 MB / 2.525 GB, free: 201.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001158/4.644, allocations: 0.6468 MB / 2.526 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/4.644, allocations: 0 / 2.526 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006191/4.645, allocations: 444.6 kB / 2.526 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/4.646, allocations: 219.3 kB / 2.526 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/4.65, allocations: 1.328 MB / 2.528 GB, free: 199.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007869/4.651, allocations: 1.123 MB / 2.529 GB, free: 198.1 MB / 0.6982 GB Notification: Performance of SimCode: time 1.022e-06/4.651, allocations: 0 / 2.529 GB, free: 198.1 MB / 0.6982 GB Notification: Performance of Templates: time 0.02739/4.678, allocations: 16.64 MB / 2.545 GB, free: 181.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)