Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6062/0.6062, allocations: 133.5 MB / 141.4 MB, free: 15.62 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.4 MB / 395 MB, free: 10.15 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008628, allocations: 92.64 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.941e-06, allocations: 2.25 kB / 0.5529 GB, free: 89.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 82.29 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7302/0.8397, allocations: 382.2 MB / 1.006 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.84, allocations: 94.06 kB / 1.007 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.397/5.237, allocations: 1.65 GB / 2.657 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006323/5.237, allocations: 115.5 kB / 2.657 GB, free: 86.1 MB / 0.6823 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.00982/5.247, allocations: 3.833 MB / 2.661 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/5.247, allocations: 12.81 kB / 2.661 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/5.25, allocations: 0.5262 MB / 2.661 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03576/5.286, allocations: 18.32 MB / 2.679 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/5.286, allocations: 90.88 kB / 2.679 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/5.286, allocations: 176.9 kB / 2.679 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004838/5.291, allocations: 3.605 MB / 2.683 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/5.296, allocations: 3.951 MB / 2.687 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.527e-05/5.296, allocations: 17.75 kB / 2.687 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/5.297, allocations: 7.812 kB / 2.687 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.995e-05/5.297, allocations: 151.3 kB / 2.687 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/5.315, allocations: 19.64 MB / 2.706 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/5.318, allocations: 2.613 MB / 2.709 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/5.32, allocations: 1.352 MB / 2.71 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/5.32, allocations: 0.5432 MB / 2.71 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/5.32, allocations: 63.16 kB / 2.711 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=184): time 3.887e-06/5.32, allocations: 0 / 2.711 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=184): time 0.005455/5.326, allocations: 3.089 MB / 2.714 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/5.326, allocations: 68.41 kB / 2.714 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/5.329, allocations: 2.982 MB / 2.717 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002738/5.33, allocations: 34.23 kB / 2.717 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/5.33, allocations: 1.197 MB / 2.718 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007373/5.331, allocations: 0.6067 MB / 2.718 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/5.331, allocations: 3.844 kB / 2.718 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001208/5.331, allocations: 410.4 kB / 2.719 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/5.333, allocations: 1.258 MB / 2.72 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/5.335, allocations: 1.918 MB / 2.722 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/5.338, allocations: 1.675 MB / 2.723 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/5.338, allocations: 4.969 kB / 2.723 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007354/5.345, allocations: 4.033 MB / 2.727 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/5.346, allocations: 7.267 MB / 2.734 GB, free: 56.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/5.346, allocations: 19.25 kB / 2.735 GB, free: 56.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002825/5.349, allocations: 1.049 MB / 2.736 GB, free: 56.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/5.351, allocations: 494.8 kB / 2.736 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/5.356, allocations: 4.957 MB / 2.741 GB, free: 53.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/5.36, allocations: 368.5 kB / 2.741 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/5.36, allocations: 125.9 kB / 2.741 GB, free: 52.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/5.36, allocations: 8.344 kB / 2.741 GB, free: 52.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00646/5.367, allocations: 3.461 MB / 2.745 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/5.367, allocations: 17.28 kB / 2.745 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/5.37, allocations: 1.118 MB / 2.746 GB, free: 51.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/5.372, allocations: 478.6 kB / 2.746 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/5.377, allocations: 3.584 MB / 2.75 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/5.381, allocations: 305.9 kB / 2.75 GB, free: 49.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/5.381, allocations: 117.3 kB / 2.75 GB, free: 49.39 MB / 0.6823 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.0006947/5.382, allocations: 166.7 kB / 2.75 GB, free: 49.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008856/5.383, allocations: 331.9 kB / 2.751 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/5.388, allocations: 3.19 MB / 2.754 GB, free: 47.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/5.388, allocations: 18.94 kB / 2.754 GB, free: 47.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/5.388, allocations: 5.75 kB / 2.754 GB, free: 47.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003663/5.391, allocations: 2.585 MB / 2.756 GB, free: 46.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/5.402, allocations: 6.655 MB / 2.763 GB, free: 41.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/5.402, allocations: 4.656 kB / 2.763 GB, free: 41.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/5.403, allocations: 273.8 kB / 2.763 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/5.406, allocations: 0.9792 MB / 2.764 GB, free: 40.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/5.406, allocations: 16.36 kB / 2.764 GB, free: 40.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/5.412, allocations: 9.729 MB / 2.774 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/5.412, allocations: 0 / 2.774 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006447/5.419, allocations: 4.717 MB / 2.778 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/5.421, allocations: 0.8301 MB / 2.779 GB, free: 25.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009063/5.421, allocations: 5.781 kB / 2.779 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/5.424, allocations: 183.9 kB / 2.779 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/5.424, allocations: 98.97 kB / 2.779 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/5.424, allocations: 90.66 kB / 2.779 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002617/5.427, allocations: 2.275 MB / 2.782 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006352/5.433, allocations: 2.155 MB / 2.784 GB, free: 21.02 MB / 0.6823 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.001031/5.434, allocations: 0.6646 MB / 2.784 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006579/5.441, allocations: 4.865 MB / 2.789 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/5.441, allocations: 0 / 2.789 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/5.443, allocations: 1.782 MB / 2.791 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005922/5.449, allocations: 1.657 MB / 2.792 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00915/5.458, allocations: 6.615 MB / 2.799 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/5.46, allocations: 3.309 MB / 2.802 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/5.46, allocations: 4 kB / 2.802 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.3435/5.804, allocations: 89.53 MB / 2.89 GB, free: 153.1 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)