Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6861/0.6861, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 91.05 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.02e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2023, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.52, allocations: 369.6 MB / 0.9818 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004081/1.521, allocations: 96.94 kB / 0.9819 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.115/7.636, allocations: 1.552 GB / 2.534 GB, free: 44.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000859/7.637, allocations: 110.6 kB / 2.534 GB, free: 44.66 MB / 0.6511 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.01532/7.652, allocations: 3.774 MB / 2.538 GB, free: 40.85 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/7.652, allocations: 12.03 kB / 2.538 GB, free: 40.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006347/7.659, allocations: 0.5217 MB / 2.539 GB, free: 40.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04865/7.707, allocations: 18.14 MB / 2.556 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/7.708, allocations: 93.5 kB / 2.556 GB, free: 22.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/7.709, allocations: 176 kB / 2.557 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008561/7.718, allocations: 3.545 MB / 2.56 GB, free: 18.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009036/7.727, allocations: 3.842 MB / 2.564 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.704e-05/7.727, allocations: 7.938 kB / 2.564 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/7.728, allocations: 7.906 kB / 2.564 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/7.728, allocations: 153.4 kB / 2.564 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/7.757, allocations: 19.59 MB / 2.583 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/7.762, allocations: 2.603 MB / 2.586 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/7.764, allocations: 1.315 MB / 2.587 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/7.764, allocations: 380.1 kB / 2.587 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/7.764, allocations: 56.56 kB / 2.587 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=180): time 4.268e-06/7.764, allocations: 4 kB / 2.587 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of matching and sorting (n=180): time 0.008139/7.772, allocations: 3.446 MB / 2.591 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/7.773, allocations: 69.41 kB / 2.591 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3591/8.132, allocations: 2.924 MB / 2.594 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0009328/8.133, allocations: 29.08 kB / 2.594 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/8.134, allocations: 1.208 MB / 2.595 GB, free: 151.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/8.136, allocations: 0.5934 MB / 2.595 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/8.136, allocations: 3.094 kB / 2.595 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002106/8.136, allocations: 402.9 kB / 2.596 GB, free: 150.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/8.138, allocations: 1.243 MB / 2.597 GB, free: 150.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/8.14, allocations: 1.902 MB / 2.599 GB, free: 149.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/8.143, allocations: 1.65 MB / 2.6 GB, free: 149.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/8.143, allocations: 3.875 kB / 2.6 GB, free: 149.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=310) (initialization): time 0.007879/8.151, allocations: 4.015 MB / 2.604 GB, free: 149.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001868/8.153, allocations: 7.244 MB / 2.611 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/8.153, allocations: 19.25 kB / 2.611 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/8.156, allocations: 1.044 MB / 2.612 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/8.16, allocations: 0.5525 MB / 2.613 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/8.167, allocations: 4.991 MB / 2.618 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004805/8.172, allocations: 362.7 kB / 2.618 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/8.172, allocations: 129.4 kB / 2.618 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/8.172, allocations: 7.781 kB / 2.618 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005682/8.178, allocations: 3.428 MB / 2.622 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/8.178, allocations: 17.91 kB / 2.622 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/8.181, allocations: 1.126 MB / 2.623 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/8.183, allocations: 467.9 kB / 2.623 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/8.187, allocations: 3.586 MB / 2.627 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/8.191, allocations: 292.8 kB / 2.627 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/8.191, allocations: 110.8 kB / 2.627 GB, free: 137.3 MB / 0.6667 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 (246): * Single equations (assignments): 241 * 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.0007429/8.192, allocations: 168.2 kB / 2.627 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/8.193, allocations: 322 kB / 2.628 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/8.2, allocations: 3.49 MB / 2.631 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/8.2, allocations: 15.78 kB / 2.631 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/8.2, allocations: 3.938 kB / 2.631 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00415/8.204, allocations: 2.911 MB / 2.634 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/8.219, allocations: 6.654 MB / 2.64 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/8.219, allocations: 0 / 2.64 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/8.221, allocations: 364.4 kB / 2.641 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/8.224, allocations: 0.9261 MB / 2.642 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/8.224, allocations: 22.81 kB / 2.642 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008835/8.233, allocations: 10.96 MB / 2.652 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/8.233, allocations: 0.75 kB / 2.652 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006858/8.24, allocations: 4.856 MB / 2.657 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/8.243, allocations: 0.7923 MB / 2.658 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/8.243, allocations: 3.469 kB / 2.658 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/8.245, allocations: 171.8 kB / 2.658 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/8.245, allocations: 98.69 kB / 2.658 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/8.246, allocations: 60.31 kB / 2.658 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.003213/8.249, allocations: 2.233 MB / 2.66 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008123/8.257, allocations: 2.118 MB / 2.662 GB, free: 124.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (137): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001527/8.259, allocations: 0.6724 MB / 2.663 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01036/8.269, allocations: 4.882 MB / 2.668 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/8.269, allocations: 3.906 kB / 2.668 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/8.273, allocations: 1.859 MB / 2.67 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009307/8.283, allocations: 1.623 MB / 2.671 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/8.298, allocations: 6.464 MB / 2.678 GB, free: 122.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/8.302, allocations: 3.279 MB / 2.681 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.202e-06/8.302, allocations: 0 / 2.681 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.1528/8.454, allocations: 88.01 MB / 2.767 GB, free: 117.4 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)