Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") [: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.7307/0.7307, allocations: 141.8 MB / 149.1 MB, free: 4.469 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.00106/0.001059, allocations: 184.7 kB / 181.9 MB, free: 144 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.3 MB / 436 MB, free: 9.395 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.001042/0.001042, allocations: 92.98 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 280.9 kB / 0.5884 GB, free: 12.33 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 0.6759 GB, free: 2.684 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4286, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.5497, allocations: 109.5 MB / 0.8637 GB, free: 3.289 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.55, allocations: 79.75 kB / 0.8637 GB, free: 3.215 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01299/0.563, allocations: 4.816 MB / 0.8684 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.5631, allocations: 4 kB / 0.8684 GB, free: 14.43 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007389/0.5638, allocations: 0.5383 MB / 0.869 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5639, allocations: 8.031 kB / 0.869 GB, free: 13.83 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.5639, allocations: 23.62 kB / 0.869 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.5643, allocations: 248.9 kB / 0.8692 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5643, allocations: 4 kB / 0.8692 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.5643, allocations: 0 / 0.8692 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003134/0.5647, allocations: 252.4 kB / 0.8695 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.5651, allocations: 304.5 kB / 0.8698 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5651, allocations: 0 / 0.8698 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.5651, allocations: 0 / 0.8698 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-05/0.5652, allocations: 51.95 kB / 0.8698 GB, free: 12.92 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.5671, allocations: 0.54 MB / 0.8703 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.5673, allocations: 198.7 kB / 0.8705 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5675, allocations: 177.1 kB / 0.8707 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.5675, allocations: 4 kB / 0.8707 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.5675, allocations: 34.55 kB / 0.8707 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.5676, allocations: 0 / 0.8707 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of matching and sorting (n=34): time 0.000605/0.5682, allocations: 426.1 kB / 0.8711 GB, free: 11.49 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.5682, allocations: 81.05 kB / 0.8712 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5684, allocations: 178.7 kB / 0.8714 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5684, allocations: 25.7 kB / 0.8714 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.5685, allocations: 128.5 kB / 0.8715 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.5686, allocations: 114.3 kB / 0.8717 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.5686, allocations: 0 / 0.8717 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5687, allocations: 334.8 kB / 0.872 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5689, allocations: 147.8 kB / 0.8721 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.569, allocations: 147.8 kB / 0.8723 GB, free: 10.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5693, allocations: 176.5 kB / 0.8724 GB, free: 10.13 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5693, allocations: 2.344 kB / 0.8724 GB, free: 10.13 MB / 0.5419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005062/0.5698, allocations: 426.1 kB / 0.8728 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5699, allocations: 6.812 kB / 0.8728 GB, free: 9.703 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5699, allocations: 0 / 0.8728 GB, free: 9.703 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5699, allocations: 7.984 kB / 0.8728 GB, free: 9.695 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.57, allocations: 4 kB / 0.8728 GB, free: 9.691 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.57, allocations: 0 / 0.8728 GB, free: 9.691 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.57, allocations: 11.75 kB / 0.8729 GB, free: 9.68 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.5701, allocations: 27.03 kB / 0.8729 GB, free: 9.656 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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 9.226e-05/0.5702, allocations: 130.7 kB / 0.873 GB, free: 9.516 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.5702, allocations: 15.72 kB / 0.873 GB, free: 9.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.5703, allocations: 14.64 kB / 0.873 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/0.5703, allocations: 16 kB / 0.8731 GB, free: 9.473 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5703, allocations: 4 kB / 0.8731 GB, free: 9.469 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5703, allocations: 3.984 kB / 0.8731 GB, free: 9.465 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/0.5711, allocations: 261.8 kB / 0.8733 GB, free: 9.172 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5711, allocations: 0 / 0.8733 GB, free: 9.172 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.5711, allocations: 7.938 kB / 0.8733 GB, free: 9.164 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5711, allocations: 0 / 0.8733 GB, free: 9.164 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.5712, allocations: 7.984 kB / 0.8733 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5712, allocations: 0 / 0.8733 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5712, allocations: 0 / 0.8733 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005335/0.5717, allocations: 0.5276 MB / 0.8738 GB, free: 8.613 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.5718, allocations: 100.8 kB / 0.8739 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.5718, allocations: 3.984 kB / 0.8739 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.5719, allocations: 7.188 kB / 0.8739 GB, free: 8.488 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5719, allocations: 7.938 kB / 0.874 GB, free: 8.48 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.572, allocations: 19.98 kB / 0.874 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001077/0.5721, allocations: 147.4 kB / 0.8741 GB, free: 8.316 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0006681/0.5728, allocations: 207.6 kB / 0.8743 GB, free: 8.113 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 (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.00069/0.5735, allocations: 243 kB / 0.8745 GB, free: 7.867 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.5739, allocations: 369.4 kB / 0.8749 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.574, allocations: 0 / 0.8749 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.5742, allocations: 217.6 kB / 0.8751 GB, free: 7.281 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.5744, allocations: 8.188 kB / 0.8751 GB, free: 7.273 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.5751, allocations: 464.6 kB / 0.8756 GB, free: 6.793 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.5755, allocations: 0.8057 MB / 0.8763 GB, free: 5.961 MB / 0.5419 GB Notification: Performance of SimCode: time 2.3e-07/0.5755, allocations: 3.938 kB / 0.8763 GB, free: 5.957 MB / 0.5419 GB Notification: Performance of Templates: time 0.007681/0.5832, allocations: 3.617 MB / 0.8799 GB, free: 2.367 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)