Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") [: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.7447/0.7447, allocations: 141.8 MB / 149.1 MB, free: 13.18 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.001096/0.001096, allocations: 181.6 kB / 181.9 MB, free: 9.84 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.501/1.501, allocations: 221.4 MB / 436 MB, free: 2.23 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.001189/0.001189, allocations: 101 kB / 0.507 GB, free: 11.04 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.00181, allocations: 272.3 kB / 0.5884 GB, free: 7.855 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.019e-05, allocations: 0 / 0.6759 GB, free: 14.22 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.5807, allocations: 82.78 MB / 0.7567 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8542/1.435, allocations: 379.4 MB / 1.127 GB, free: 6.617 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.435, allocations: 103.4 kB / 1.127 GB, free: 6.562 MB / 0.6669 GB Notification: Performance of FrontEnd: time 6.525/7.96, allocations: 1.645 GB / 2.772 GB, free: 18.83 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.0009037/7.961, allocations: 115.8 kB / 2.773 GB, free: 18.71 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01473/7.976, allocations: 3.808 MB / 2.776 GB, free: 14.84 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/7.976, allocations: 8.031 kB / 2.776 GB, free: 14.84 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/7.98, allocations: 0.5255 MB / 2.777 GB, free: 14.3 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4137/8.394, allocations: 18.16 MB / 2.795 GB, free: 152.6 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/8.394, allocations: 91.47 kB / 2.795 GB, free: 152.6 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000835/8.395, allocations: 176.5 kB / 2.795 GB, free: 152.6 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005924/8.401, allocations: 3.603 MB / 2.798 GB, free: 152.6 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005821/8.407, allocations: 3.954 MB / 2.802 GB, free: 152.1 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.893e-05/8.407, allocations: 9.188 kB / 2.802 GB, free: 152.1 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/8.407, allocations: 7 kB / 2.802 GB, free: 152.1 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/8.407, allocations: 149.4 kB / 2.802 GB, free: 152 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/8.436, allocations: 19.62 MB / 2.821 GB, free: 142.4 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/8.439, allocations: 2.623 MB / 2.824 GB, free: 142.4 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/8.441, allocations: 1.359 MB / 2.825 GB, free: 142.3 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/8.441, allocations: 0.5362 MB / 2.826 GB, free: 141.8 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/8.441, allocations: 64.41 kB / 2.826 GB, free: 141.7 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=184): time 4.108e-06/8.441, allocations: 0 / 2.826 GB, free: 141.7 MB / 0.7294 GB Notification: Performance of matching and sorting (n=184): time 0.006558/8.448, allocations: 3.082 MB / 2.829 GB, free: 141.4 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/8.448, allocations: 67.72 kB / 2.829 GB, free: 141.4 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004952/8.453, allocations: 2.926 MB / 2.832 GB, free: 141.1 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007975/8.454, allocations: 29.52 kB / 2.832 GB, free: 141.1 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/8.455, allocations: 1.196 MB / 2.833 GB, free: 140.6 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/8.456, allocations: 0.6079 MB / 2.834 GB, free: 140.3 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/8.456, allocations: 0 / 2.834 GB, free: 140.3 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/8.456, allocations: 402.4 kB / 2.834 GB, free: 140 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/8.458, allocations: 1.264 MB / 2.835 GB, free: 140 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/8.46, allocations: 1.919 MB / 2.837 GB, free: 139.3 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/8.463, allocations: 1.672 MB / 2.839 GB, free: 139.2 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/8.463, allocations: 9.031 kB / 2.839 GB, free: 139.2 MB / 0.7294 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008581/8.471, allocations: 4.031 MB / 2.843 GB, free: 139 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001974/8.473, allocations: 7.234 MB / 2.85 GB, free: 131.5 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.373e-05/8.473, allocations: 23.95 kB / 2.85 GB, free: 131.5 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/8.477, allocations: 1.037 MB / 2.851 GB, free: 131.4 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/8.479, allocations: 0.4984 MB / 2.851 GB, free: 131.4 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/8.485, allocations: 4.946 MB / 2.856 GB, free: 128.7 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/8.49, allocations: 373.8 kB / 2.856 GB, free: 128.6 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008345/8.491, allocations: 125 kB / 2.857 GB, free: 128.6 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/8.491, allocations: 3.812 kB / 2.857 GB, free: 128.6 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007827/8.499, allocations: 3.458 MB / 2.86 GB, free: 128.5 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/8.499, allocations: 21.78 kB / 2.86 GB, free: 128.5 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004716/8.504, allocations: 1.115 MB / 2.861 GB, free: 128.5 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/8.506, allocations: 481.3 kB / 2.862 GB, free: 128.5 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00507/8.511, allocations: 3.58 MB / 2.865 GB, free: 126.9 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/8.516, allocations: 307.3 kB / 2.865 GB, free: 126.8 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008478/8.517, allocations: 115.1 kB / 2.865 GB, free: 126.8 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001491/8.519, allocations: 167.9 kB / 2.866 GB, free: 126.7 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002165/8.521, allocations: 326.4 kB / 2.866 GB, free: 126.5 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007725/8.528, allocations: 3.186 MB / 2.869 GB, free: 126.3 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/8.529, allocations: 18.44 kB / 2.869 GB, free: 126.3 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/8.529, allocations: 0 / 2.869 GB, free: 126.3 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004307/8.533, allocations: 2.592 MB / 2.872 GB, free: 126.2 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/8.552, allocations: 6.63 MB / 2.878 GB, free: 125.6 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/8.552, allocations: 0 / 2.878 GB, free: 125.6 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/8.553, allocations: 271.3 kB / 2.878 GB, free: 125.6 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/8.557, allocations: 0.9825 MB / 2.879 GB, free: 125.5 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003211/8.557, allocations: 25.47 kB / 2.879 GB, free: 125.5 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007023/8.564, allocations: 9.721 MB / 2.889 GB, free: 117.8 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/8.564, allocations: 6.188 kB / 2.889 GB, free: 117.8 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008588/8.573, allocations: 4.712 MB / 2.893 GB, free: 117.3 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/8.576, allocations: 0.8291 MB / 2.894 GB, free: 117 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/8.577, allocations: 7.594 kB / 2.894 GB, free: 117 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003838/8.581, allocations: 177.4 kB / 2.894 GB, free: 117 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/8.582, allocations: 104.1 kB / 2.894 GB, free: 117 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003569/8.582, allocations: 91.97 kB / 2.895 GB, free: 117 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.004956/8.587, allocations: 2.225 MB / 2.897 GB, free: 116.9 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.01202/8.599, allocations: 2.146 MB / 2.899 GB, free: 116.6 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.002168/8.601, allocations: 0.6844 MB / 2.9 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.01158/8.613, allocations: 4.866 MB / 2.904 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/8.613, allocations: 6.75 kB / 2.904 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.003272/8.616, allocations: 1.787 MB / 2.906 GB, free: 115.8 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/8.626, allocations: 1.636 MB / 2.908 GB, free: 115.8 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/8.651, allocations: 6.559 MB / 2.914 GB, free: 114.6 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007599/8.658, allocations: 3.294 MB / 2.917 GB, free: 113.8 MB / 0.7294 GB Notification: Performance of SimCode: time 1.964e-06/8.658, allocations: 0 / 2.917 GB, free: 113.8 MB / 0.7294 GB Notification: Performance of Templates: time 0.1459/8.804, allocations: 89.3 MB / 3.004 GB, free: 109.9 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)