Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.3213/0.3213, allocations: 54.4 MB / 61.68 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001244/0.001244, allocations: 184 kB / 75.37 MB, free: 1.547 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.586/1.586, allocations: 194.2 MB / 283.2 MB, free: 3.457 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00173/0.00173, allocations: 115.8 kB / 341.3 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.107e-06, allocations: 0 / 405 MB, free: 27.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 57.64 MB / 462.6 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9577/1.11, allocations: 347.7 MB / 0.7913 GB, free: 44.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.11, allocations: 94.39 kB / 0.7914 GB, free: 44.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.985/4.095, allocations: 0.7293 GB / 1.521 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001045/4.096, allocations: 104.4 kB / 1.521 GB, free: 59.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 728 * Number of variables: 728 Notification: Performance of Generate backend data structure: time 0.01536/4.112, allocations: 3.688 MB / 1.524 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/4.112, allocations: 13.38 kB / 1.524 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/4.117, allocations: 0.5148 MB / 1.525 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04956/4.167, allocations: 17.53 MB / 1.542 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/4.167, allocations: 89.06 kB / 1.542 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/4.169, allocations: 176.1 kB / 1.542 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01018/4.179, allocations: 3.498 MB / 1.546 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/4.192, allocations: 3.843 MB / 1.549 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/4.192, allocations: 15.97 kB / 1.549 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/4.193, allocations: 6.719 kB / 1.549 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/4.193, allocations: 147.4 kB / 1.55 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03456/4.228, allocations: 20.15 MB / 1.569 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/4.233, allocations: 2.661 MB / 1.572 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/4.235, allocations: 1.369 MB / 1.573 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/4.236, allocations: 215.9 kB / 1.573 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/4.236, allocations: 61.33 kB / 1.574 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 5.761e-06/4.236, allocations: 6.812 kB / 1.574 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195): time 0.0199/4.256, allocations: 6.408 MB / 1.58 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/4.256, allocations: 127.3 kB / 1.58 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008564/4.264, allocations: 2.882 MB / 1.583 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008536/4.265, allocations: 27.8 kB / 1.583 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/4.267, allocations: 1.163 MB / 1.584 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/4.269, allocations: 0.6455 MB / 1.585 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005971/4.269, allocations: 1.094 kB / 1.585 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003007/4.27, allocations: 410.2 kB / 1.585 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/4.273, allocations: 1.281 MB / 1.586 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/4.276, allocations: 1.959 MB / 1.588 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/4.281, allocations: 1.694 MB / 1.59 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/4.281, allocations: 6.469 kB / 1.59 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01315/4.294, allocations: 4.089 MB / 1.594 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002172/4.296, allocations: 7.496 MB / 1.601 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.367e-05/4.296, allocations: 17.09 kB / 1.601 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/4.3, allocations: 1.04 MB / 1.602 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/4.304, allocations: 0.6358 MB / 1.603 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/4.312, allocations: 4.993 MB / 1.608 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/4.319, allocations: 241.6 kB / 1.608 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/4.321, allocations: 126.6 kB / 1.608 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/4.321, allocations: 4.125 kB / 1.608 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01081/4.331, allocations: 3.519 MB / 1.611 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/4.332, allocations: 18.59 kB / 1.611 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004393/4.336, allocations: 1.111 MB / 1.612 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/4.339, allocations: 0.4908 MB / 1.613 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/4.343, allocations: 3.579 MB / 1.616 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/4.348, allocations: 196.5 kB / 1.617 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006693/4.349, allocations: 119.2 kB / 1.617 GB, free: 16.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 256 * 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.001521/4.35, allocations: 164.3 kB / 1.617 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/4.352, allocations: 320.1 kB / 1.617 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008846/4.361, allocations: 3.431 MB / 1.621 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/4.361, allocations: 27.08 kB / 1.621 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/4.361, allocations: 3.938 kB / 1.621 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004592/4.366, allocations: 2.787 MB / 1.623 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/4.384, allocations: 6.695 MB / 1.63 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/4.384, allocations: 4 kB / 1.63 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/4.387, allocations: 425.8 kB / 1.63 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/4.391, allocations: 1.078 MB / 1.631 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/4.391, allocations: 21.25 kB / 1.631 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/4.398, allocations: 7.588 MB / 1.639 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/4.398, allocations: 4 kB / 1.639 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01011/4.409, allocations: 5.059 MB / 1.644 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004318/4.413, allocations: 0.7831 MB / 1.644 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001973/4.415, allocations: 4 kB / 1.644 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004285/4.419, allocations: 178.9 kB / 1.645 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/4.42, allocations: 121.5 kB / 1.645 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003265/4.42, allocations: 71.12 kB / 1.645 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.007937/4.428, allocations: 2.196 MB / 1.647 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01758/4.446, allocations: 1.717 MB / 1.649 GB, free: 3.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (146): * Single equations (assignments): 138 * 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: 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: 0 * Non-linear torn systems: 6 {5 45,1 4,1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002657/4.448, allocations: 0.6443 MB / 1.649 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3291/4.777, allocations: 5.168 MB / 1.654 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/4.777, allocations: 3.75 kB / 1.654 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004969/4.782, allocations: 1.637 MB / 1.656 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/4.793, allocations: 1.641 MB / 1.657 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/4.812, allocations: 6.576 MB / 1.664 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004069/4.816, allocations: 3.227 MB / 1.667 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.545e-06/4.816, allocations: 3.75 kB / 1.667 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.1603/4.976, allocations: 88.49 MB / 1.753 GB, free: 105.2 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)