Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") [: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.7403/0.7403, allocations: 141.8 MB / 149.1 MB, free: 4.57 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.001018/0.001018, allocations: 183.2 kB / 181.9 MB, free: 204 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.247/1.247, allocations: 221.3 MB / 436 MB, free: 9.336 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.0009717/0.0009717, allocations: 93.91 kB / 0.507 GB, free: 24.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 292.7 kB / 0.5884 GB, free: 12.38 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.023e-06, allocations: 3.938 kB / 0.6759 GB, free: 2.746 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3141, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.4237, allocations: 110.4 MB / 0.8645 GB, free: 2.375 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.424, allocations: 79.7 kB / 0.8646 GB, free: 2.301 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01882/0.4428, allocations: 6.232 MB / 0.8707 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.4429, allocations: 0 / 0.8707 GB, free: 12.11 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006332/0.4435, allocations: 0.4977 MB / 0.8712 GB, free: 11.56 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4436, allocations: 15.97 kB / 0.8712 GB, free: 11.55 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.4436, allocations: 19.72 kB / 0.8712 GB, free: 11.53 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.4439, allocations: 210.8 kB / 0.8714 GB, free: 11.28 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4439, allocations: 4 kB / 0.8714 GB, free: 11.28 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.4439, allocations: 4 kB / 0.8714 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002833/0.4442, allocations: 184.1 kB / 0.8716 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.4445, allocations: 210.4 kB / 0.8718 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4446, allocations: 0 / 0.8718 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4446, allocations: 0.5625 kB / 0.8718 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.4446, allocations: 43.95 kB / 0.8719 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009749/0.4456, allocations: 0.5427 MB / 0.8724 GB, free: 10.24 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.4459, allocations: 82.53 kB / 0.8725 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.4459, allocations: 52.89 kB / 0.8725 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.446, allocations: 0 / 0.8725 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.446, allocations: 37.75 kB / 0.8725 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.446, allocations: 0 / 0.8725 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0003194/0.4463, allocations: 140.5 kB / 0.8727 GB, free: 9.91 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4464, allocations: 51.41 kB / 0.8727 GB, free: 9.848 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4465, allocations: 148.2 kB / 0.8729 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4466, allocations: 29.7 kB / 0.8729 GB, free: 9.664 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.4467, allocations: 147.8 kB / 0.873 GB, free: 9.516 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4467, allocations: 27.55 kB / 0.8731 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.4467, allocations: 0 / 0.8731 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4469, allocations: 322.8 kB / 0.8734 GB, free: 9.164 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.447, allocations: 51.91 kB / 0.8734 GB, free: 9.113 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.4471, allocations: 80.2 kB / 0.8735 GB, free: 9.02 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4472, allocations: 63.95 kB / 0.8736 GB, free: 8.957 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4472, allocations: 0 / 0.8736 GB, free: 8.957 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002954/0.4475, allocations: 177.3 kB / 0.8737 GB, free: 8.777 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4476, allocations: 4 kB / 0.8737 GB, free: 8.773 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4476, allocations: 4 kB / 0.8737 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4476, allocations: 0 / 0.8737 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4477, allocations: 24.11 kB / 0.8738 GB, free: 8.746 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4478, allocations: 0 / 0.8738 GB, free: 8.746 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.4479, allocations: 7.906 kB / 0.8738 GB, free: 8.738 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.4479, allocations: 11.98 kB / 0.8738 GB, free: 8.727 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.646e-05/0.448, allocations: 108.9 kB / 0.8739 GB, free: 8.613 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.4481, allocations: 12.38 kB / 0.8739 GB, free: 8.602 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.4484, allocations: 166.1 kB / 0.8741 GB, free: 8.438 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.4484, allocations: 4 kB / 0.8741 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4484, allocations: 0 / 0.8741 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4484, allocations: 3.984 kB / 0.8741 GB, free: 8.43 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4487, allocations: 215.8 kB / 0.8743 GB, free: 8.184 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4488, allocations: 3.938 kB / 0.8743 GB, free: 8.18 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.4489, allocations: 15.94 kB / 0.8743 GB, free: 8.164 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4489, allocations: 0 / 0.8743 GB, free: 8.164 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4489, allocations: 8 kB / 0.8743 GB, free: 8.156 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4489, allocations: 7.906 kB / 0.8743 GB, free: 8.148 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4489, allocations: 3.984 kB / 0.8743 GB, free: 8.145 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002886/0.4492, allocations: 240 kB / 0.8745 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.4493, allocations: 85.02 kB / 0.8746 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.4493, allocations: 0 / 0.8746 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4494, allocations: 0 / 0.8746 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.4494, allocations: 11.89 kB / 0.8746 GB, free: 7.781 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4495, allocations: 12.05 kB / 0.8746 GB, free: 7.77 MB / 0.5419 GB Notification: Performance of sort global known variables: time 9.661e-05/0.4496, allocations: 127.2 kB / 0.8748 GB, free: 7.645 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007014/0.4503, allocations: 267.5 kB / 0.875 GB, free: 7.383 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.0007046/0.451, allocations: 278.9 kB / 0.8753 GB, free: 7.098 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4513, allocations: 132.4 kB / 0.8754 GB, free: 6.969 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4513, allocations: 0 / 0.8754 GB, free: 6.969 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.4514, allocations: 75.83 kB / 0.8755 GB, free: 6.895 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.4516, allocations: 9.094 kB / 0.8755 GB, free: 6.887 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.4522, allocations: 259.7 kB / 0.8757 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/0.4526, allocations: 0.7842 MB / 0.8765 GB, free: 5.797 MB / 0.5419 GB Notification: Performance of SimCode: time 2.3e-07/0.4526, allocations: 0 / 0.8765 GB, free: 5.797 MB / 0.5419 GB Notification: Performance of Templates: time 0.007728/0.4603, allocations: 4.108 MB / 0.8805 GB, free: 1.723 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)