Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [: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 3.2.3+maint.om/package.mo): time 0.0009812/0.0009812, allocations: 194.3 kB / 8.137 MB, free: 2.086 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 100.1 kB / 261.8 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2706/0.2706, allocations: 48.76 MB / 358.5 MB, free: 53.18 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.881e-06, allocations: 224 / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08889, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.729/3.818, allocations: 2.829 GB / 3.303 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/3.819, allocations: 67.97 kB / 3.303 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.4985/4.317, allocations: 143.4 MB / 3.443 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.468e-05/4.317, allocations: 8 kB / 3.443 GB, free: 92.58 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01013/4.327, allocations: 2.551 MB / 3.446 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/4.328, allocations: 12.03 kB / 3.446 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/4.329, allocations: 247 kB / 3.446 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/4.33, allocations: 0.5927 MB / 3.446 GB, free: 89.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000985/4.331, allocations: 0.5099 MB / 3.447 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/4.332, allocations: 40 kB / 3.447 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004471/4.336, allocations: 3.228 MB / 3.45 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/4.339, allocations: 2.199 MB / 3.452 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/4.339, allocations: 0 / 3.452 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/4.339, allocations: 7.938 kB / 3.452 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/4.339, allocations: 49.89 kB / 3.452 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/4.352, allocations: 8.854 MB / 3.461 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/4.354, allocations: 1.52 MB / 3.462 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/4.355, allocations: 1.249 MB / 3.464 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.294/4.649, allocations: 88.48 MB / 3.55 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/4.649, allocations: 42.38 kB / 3.55 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 2.966e-06/4.649, allocations: 3.906 kB / 3.55 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.005387/4.655, allocations: 2.357 MB / 3.552 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/4.655, allocations: 59.69 kB / 3.552 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/4.655, allocations: 171.9 kB / 3.553 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/4.655, allocations: 25.7 kB / 3.553 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/4.655, allocations: 241.2 kB / 3.553 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/4.655, allocations: 297.9 kB / 3.553 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/4.655, allocations: 0 / 3.553 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/4.656, allocations: 348.6 kB / 3.553 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/4.657, allocations: 1.146 MB / 3.555 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/4.658, allocations: 1.239 MB / 3.556 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/4.66, allocations: 0.812 MB / 3.557 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/4.66, allocations: 0 / 3.557 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004594/4.665, allocations: 2.416 MB / 3.559 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/4.665, allocations: 3.938 kB / 3.559 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/4.665, allocations: 3.75 kB / 3.559 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/4.665, allocations: 7.781 kB / 3.559 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/4.668, allocations: 1.153 MB / 3.56 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/4.668, allocations: 8.953 kB / 3.56 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/4.671, allocations: 0.9244 MB / 3.561 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/4.672, allocations: 98.09 kB / 3.561 GB, free: 144.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0003694/4.672, allocations: 124.4 kB / 3.561 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/4.673, allocations: 203.8 kB / 3.561 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006365/4.679, allocations: 4.605 MB / 3.566 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004996/4.684, allocations: 3.879 MB / 3.57 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/4.684, allocations: 0 / 3.57 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/4.684, allocations: 6.094 kB / 3.57 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/4.695, allocations: 7.475 MB / 3.577 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/4.695, allocations: 1.594 kB / 3.577 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/4.698, allocations: 1.136 MB / 3.578 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/4.698, allocations: 3.969 kB / 3.578 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/4.699, allocations: 76.34 kB / 3.578 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/4.699, allocations: 5.562 kB / 3.578 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/4.699, allocations: 3.469 kB / 3.578 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005439/4.704, allocations: 3.65 MB / 3.582 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/4.704, allocations: 158.8 kB / 3.582 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/4.705, allocations: 0 / 3.582 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/4.708, allocations: 0.9043 MB / 3.583 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/4.708, allocations: 146.2 kB / 3.583 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/4.708, allocations: 96.73 kB / 3.583 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001057/4.708, allocations: 135.5 kB / 3.583 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005089/4.713, allocations: 1.3 MB / 3.584 GB, free: 142.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007124/4.721, allocations: 1.428 MB / 3.586 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00425/4.725, allocations: 3.3 MB / 3.589 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/4.725, allocations: 2.656 kB / 3.589 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/4.727, allocations: 2.197 MB / 3.591 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/4.729, allocations: 225.4 kB / 3.591 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/4.736, allocations: 3.723 MB / 3.595 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/4.738, allocations: 1.397 MB / 3.596 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/4.738, allocations: 0 / 3.596 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.06706/4.805, allocations: 55.19 MB / 3.65 GB, free: 122 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)