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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) [: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.7561/0.7561, allocations: 141.8 MB / 149.1 MB, free: 14.77 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 182.4 kB / 182 MB, free: 11.23 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.443/1.443, allocations: 221.3 MB / 436 MB, free: 3.797 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.001127/0.001127, allocations: 94.58 kB / 0.507 GB, free: 18.49 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 263.6 kB / 0.5885 GB, free: 5.199 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.5676/0.5698, allocations: 89.64 MB / 0.676 GB, free: 138 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.7901, allocations: 82.77 MB / 0.7568 GB, free: 85.71 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.9445, allocations: 110.4 MB / 0.8647 GB, free: 7.133 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.9448, allocations: 77.34 kB / 0.8647 GB, free: 7.059 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.02142/0.9663, allocations: 6.739 MB / 0.8713 GB, free: 264 kB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.9663, allocations: 12 kB / 0.8713 GB, free: 252 kB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.9664, allocations: 15.72 kB / 0.8714 GB, free: 236 kB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4266/1.393, allocations: 204.2 kB / 0.8715 GB, free: 34.95 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/1.393, allocations: 2.969 kB / 0.8715 GB, free: 34.95 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/1.393, allocations: 7.25 kB / 0.8716 GB, free: 34.95 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002974/1.393, allocations: 176.5 kB / 0.8717 GB, free: 34.95 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/1.394, allocations: 212.2 kB / 0.8719 GB, free: 34.91 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.394, allocations: 0.9844 kB / 0.8719 GB, free: 34.91 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/1.394, allocations: 1.781 kB / 0.8719 GB, free: 34.91 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.459e-05/1.394, allocations: 45.14 kB / 0.872 GB, free: 34.91 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/1.395, allocations: 0.539 MB / 0.8725 GB, free: 34.57 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/1.395, allocations: 84.89 kB / 0.8726 GB, free: 34.54 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/1.395, allocations: 49.06 kB / 0.8726 GB, free: 34.54 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/1.395, allocations: 0 / 0.8726 GB, free: 34.54 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/1.395, allocations: 34.22 kB / 0.8727 GB, free: 34.5 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/1.395, allocations: 4.938 kB / 0.8727 GB, free: 34.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0003606/1.396, allocations: 137 kB / 0.8728 GB, free: 34.46 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/1.396, allocations: 52.81 kB / 0.8728 GB, free: 34.39 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.396, allocations: 151.2 kB / 0.873 GB, free: 34.3 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.396, allocations: 25.7 kB / 0.873 GB, free: 34.27 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/1.396, allocations: 151 kB / 0.8732 GB, free: 34.16 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.396, allocations: 23.28 kB / 0.8732 GB, free: 34.15 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/1.396, allocations: 0 / 0.8732 GB, free: 34.15 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/1.396, allocations: 325.8 kB / 0.8735 GB, free: 33.84 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/1.396, allocations: 46.12 kB / 0.8735 GB, free: 33.84 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/1.396, allocations: 87.86 kB / 0.8736 GB, free: 33.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/1.396, allocations: 57.8 kB / 0.8737 GB, free: 33.8 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.396, allocations: 5 kB / 0.8737 GB, free: 33.8 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002736/1.397, allocations: 176.1 kB / 0.8738 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.397, allocations: 3.781 kB / 0.8738 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.397, allocations: 3.109 kB / 0.8739 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.397, allocations: 3.562 kB / 0.8739 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.397, allocations: 23.62 kB / 0.8739 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.397, allocations: 3.906 kB / 0.8739 GB, free: 33.76 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/1.397, allocations: 11.66 kB / 0.8739 GB, free: 33.75 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/1.397, allocations: 14.55 kB / 0.8739 GB, free: 33.75 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 7.12e-05/1.397, allocations: 101 kB / 0.874 GB, free: 33.65 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/1.397, allocations: 11.78 kB / 0.874 GB, free: 33.64 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/1.397, allocations: 169.4 kB / 0.8742 GB, free: 33.61 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.397, allocations: 3.906 kB / 0.8742 GB, free: 33.61 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.397, allocations: 0 / 0.8742 GB, free: 33.61 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.397, allocations: 3.906 kB / 0.8742 GB, free: 33.6 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/1.398, allocations: 207.7 kB / 0.8744 GB, free: 33.45 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.398, allocations: 0.9375 kB / 0.8744 GB, free: 33.45 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/1.398, allocations: 18.66 kB / 0.8744 GB, free: 33.45 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/1.398, allocations: 3.906 kB / 0.8744 GB, free: 33.44 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/1.398, allocations: 7.562 kB / 0.8744 GB, free: 33.44 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.398, allocations: 0 / 0.8744 GB, free: 33.44 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.398, allocations: 3.469 kB / 0.8744 GB, free: 33.44 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002429/1.398, allocations: 248.7 kB / 0.8747 GB, free: 33.3 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002682/1.398, allocations: 0.6217 MB / 0.8753 GB, free: 32.79 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/1.398, allocations: 90.23 kB / 0.8753 GB, free: 32.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/1.398, allocations: 7 kB / 0.8754 GB, free: 32.69 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.399, allocations: 3.938 kB / 0.8754 GB, free: 32.69 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/1.399, allocations: 7.266 kB / 0.8754 GB, free: 32.69 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/1.399, allocations: 10.72 kB / 0.8754 GB, free: 32.69 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.488e-05/1.399, allocations: 121.8 kB / 0.8755 GB, free: 32.61 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.001402/1.4, allocations: 265.3 kB / 0.8757 GB, free: 32.61 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.0005613/1.401, allocations: 282.6 kB / 0.876 GB, free: 32.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002697/1.401, allocations: 129 kB / 0.8761 GB, free: 32.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.401, allocations: 3.844 kB / 0.8761 GB, free: 32.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/1.401, allocations: 72.33 kB / 0.8762 GB, free: 32.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/1.401, allocations: 7.719 kB / 0.8762 GB, free: 32.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/1.402, allocations: 263.8 kB / 0.8765 GB, free: 32.39 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.402, allocations: 0.7791 MB / 0.8772 GB, free: 31.69 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/1.402, allocations: 3.938 kB / 0.8772 GB, free: 31.68 MB / 0.5419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)