Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") [: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.7294/0.7294, allocations: 141.8 MB / 149.1 MB, free: 4.156 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.001063/0.001063, allocations: 179.1 kB / 181.9 MB, free: 15.82 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.204/1.204, allocations: 221.3 MB / 436 MB, free: 8.961 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.0009147/0.0009147, allocations: 88.58 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 280.6 kB / 0.5884 GB, free: 11.96 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.082e-05, allocations: 0 / 0.6759 GB, free: 2.336 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3615, allocations: 82.77 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.4652, allocations: 110.2 MB / 0.8643 GB, free: 2.195 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.4654, allocations: 79.48 kB / 0.8644 GB, free: 2.125 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01657/0.482, allocations: 5.947 MB / 0.8702 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.482, allocations: 4 kB / 0.8702 GB, free: 12.21 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004787/0.4825, allocations: 0.4899 MB / 0.8707 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4825, allocations: 8.031 kB / 0.8707 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.4826, allocations: 24.47 kB / 0.8707 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4828, allocations: 210.7 kB / 0.8709 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4828, allocations: 4 kB / 0.8709 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4829, allocations: 4 kB / 0.8709 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002539/0.4831, allocations: 148.2 kB / 0.8711 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4834, allocations: 186.5 kB / 0.8712 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.4834, allocations: 0 / 0.8712 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.4834, allocations: 4 kB / 0.8712 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.4835, allocations: 36.61 kB / 0.8713 GB, free: 11.01 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.4842, allocations: 432.9 kB / 0.8717 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4844, allocations: 86.53 kB / 0.8718 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.4844, allocations: 48.89 kB / 0.8718 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4845, allocations: 0 / 0.8718 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4845, allocations: 42.56 kB / 0.8719 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.4845, allocations: 3.281 kB / 0.8719 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9): time 0.000287/0.4848, allocations: 141.5 kB / 0.872 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.4848, allocations: 51.41 kB / 0.872 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4849, allocations: 143 kB / 0.8722 GB, free: 10 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.485, allocations: 25.7 kB / 0.8722 GB, free: 9.969 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.485, allocations: 128 kB / 0.8723 GB, free: 9.84 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4851, allocations: 31.55 kB / 0.8724 GB, free: 9.809 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.4851, allocations: 4 kB / 0.8724 GB, free: 9.805 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.4852, allocations: 326.7 kB / 0.8727 GB, free: 9.477 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.4852, allocations: 43.97 kB / 0.8727 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.4853, allocations: 72.38 kB / 0.8728 GB, free: 9.352 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.714e-05/0.4854, allocations: 55.95 kB / 0.8728 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4854, allocations: 7.938 kB / 0.8728 GB, free: 9.289 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002261/0.4857, allocations: 161.4 kB / 0.873 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.4857, allocations: 4 kB / 0.873 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4857, allocations: 0 / 0.873 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4857, allocations: 4 kB / 0.873 GB, free: 9.117 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.4858, allocations: 15.98 kB / 0.873 GB, free: 9.102 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4858, allocations: 0.9375 kB / 0.873 GB, free: 9.102 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.4859, allocations: 11.84 kB / 0.873 GB, free: 9.09 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.4859, allocations: 11.98 kB / 0.873 GB, free: 9.078 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.486, allocations: 109 kB / 0.8731 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.486, allocations: 11.81 kB / 0.8732 GB, free: 8.953 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4863, allocations: 162.1 kB / 0.8733 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4863, allocations: 0 / 0.8733 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4863, allocations: 0 / 0.8733 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4864, allocations: 7.984 kB / 0.8733 GB, free: 8.785 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.4866, allocations: 194.9 kB / 0.8735 GB, free: 8.559 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4866, allocations: 8 kB / 0.8735 GB, free: 8.551 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.4867, allocations: 15.92 kB / 0.8735 GB, free: 8.535 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4867, allocations: 0 / 0.8735 GB, free: 8.535 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4867, allocations: 7.938 kB / 0.8735 GB, free: 8.527 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4867, allocations: 128 / 0.8735 GB, free: 8.527 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4867, allocations: 4 kB / 0.8735 GB, free: 8.523 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002471/0.487, allocations: 248.9 kB / 0.8738 GB, free: 8.266 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.487, allocations: 94.08 kB / 0.8739 GB, free: 8.156 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4871, allocations: 7.984 kB / 0.8739 GB, free: 8.148 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.4872, allocations: 0 / 0.8739 GB, free: 8.148 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.4872, allocations: 7.984 kB / 0.8739 GB, free: 8.141 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.4872, allocations: 11.98 kB / 0.8739 GB, free: 8.129 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.281e-05/0.4873, allocations: 117.1 kB / 0.874 GB, free: 8.016 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0005201/0.4878, allocations: 259.4 kB / 0.8743 GB, free: 7.762 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004891/0.4883, allocations: 282.9 kB / 0.8745 GB, free: 7.473 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.4885, allocations: 131.8 kB / 0.8746 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4886, allocations: 4 kB / 0.8747 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4887, allocations: 77.17 kB / 0.8747 GB, free: 7.266 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.4888, allocations: 4 kB / 0.8747 GB, free: 7.262 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.4893, allocations: 247 kB / 0.875 GB, free: 6.996 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.4896, allocations: 0.766 MB / 0.8757 GB, free: 6.203 MB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/0.4896, allocations: 4.188 kB / 0.8757 GB, free: 6.199 MB / 0.5419 GB Notification: Performance of Templates: time 0.006337/0.496, allocations: 3.943 MB / 0.8796 GB, free: 2.293 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)