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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) [: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.0009398/0.0009398, allocations: 183.5 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9857/0.9857, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0008381/0.0008384, allocations: 87.62 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2769/0.2769, allocations: 48.75 MB / 358.4 MB, free: 53.05 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.08973/0.3666, allocations: 66.37 MB / 424.8 MB, free: 8.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.4535, allocations: 60.25 MB / 485.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.594/4.047, allocations: 2.829 GB / 3.303 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/4.048, allocations: 71.95 kB / 3.303 GB, free: 22.79 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.4793/4.527, allocations: 146 MB / 3.446 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/4.527, allocations: 12 kB / 3.446 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/4.528, allocations: 246.4 kB / 3.446 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/4.53, allocations: 0.5887 MB / 3.446 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009141/4.53, allocations: 0.506 MB / 3.447 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/4.531, allocations: 44 kB / 3.447 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004257/4.535, allocations: 3.232 MB / 3.45 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/4.538, allocations: 2.195 MB / 3.452 GB, free: 82.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/4.538, allocations: 0 / 3.452 GB, free: 82.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/4.538, allocations: 3.938 kB / 3.452 GB, free: 82.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/4.538, allocations: 53.88 kB / 3.452 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/4.549, allocations: 8.854 MB / 3.461 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/4.551, allocations: 1.528 MB / 3.462 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/4.552, allocations: 1.245 MB / 3.464 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2643/4.817, allocations: 88.47 MB / 3.55 GB, free: 146 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/4.817, allocations: 38.28 kB / 3.55 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 2.535e-06/4.817, allocations: 0 / 3.55 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.005154/4.822, allocations: 2.36 MB / 3.552 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/4.822, allocations: 62.97 kB / 3.553 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/4.822, allocations: 171.9 kB / 3.553 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/4.822, allocations: 25.7 kB / 3.553 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/4.822, allocations: 238.1 kB / 3.553 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/4.823, allocations: 291.7 kB / 3.553 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/4.823, allocations: 0 / 3.553 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/4.823, allocations: 355.4 kB / 3.554 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/4.824, allocations: 1.146 MB / 3.555 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/4.826, allocations: 1.242 MB / 3.556 GB, free: 145 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/4.828, allocations: 0.8092 MB / 3.557 GB, free: 145 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/4.828, allocations: 2.156 kB / 3.557 GB, free: 145 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004593/4.832, allocations: 2.419 MB / 3.559 GB, free: 145 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/4.832, allocations: 3.781 kB / 3.559 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/4.832, allocations: 3.469 kB / 3.559 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/4.832, allocations: 7.594 kB / 3.559 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/4.836, allocations: 1.147 MB / 3.56 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/4.836, allocations: 7.688 kB / 3.56 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/4.839, allocations: 0.926 MB / 3.561 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/4.839, allocations: 96.14 kB / 3.561 GB, free: 144.9 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.000349/4.84, allocations: 122.1 kB / 3.561 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006767/4.84, allocations: 207.1 kB / 3.561 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/4.846, allocations: 4.618 MB / 3.566 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004693/4.851, allocations: 3.872 MB / 3.57 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/4.851, allocations: 0 / 3.57 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/4.851, allocations: 10.92 kB / 3.57 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/4.861, allocations: 7.476 MB / 3.577 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/4.861, allocations: 0 / 3.577 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003563/4.865, allocations: 1.134 MB / 3.578 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/4.865, allocations: 3.75 kB / 3.578 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/4.865, allocations: 81.69 kB / 3.578 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/4.865, allocations: 3.75 kB / 3.578 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.865, allocations: 0 / 3.578 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005143/4.87, allocations: 3.651 MB / 3.582 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00519/4.875, allocations: 4.065 MB / 3.586 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/4.875, allocations: 159.4 kB / 3.586 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/4.876, allocations: 3.188 kB / 3.586 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/4.879, allocations: 0.8985 MB / 3.587 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/4.879, allocations: 152 kB / 3.587 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/4.879, allocations: 90 kB / 3.587 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.295e-05/4.879, allocations: 141.3 kB / 3.587 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005141/4.885, allocations: 1.38 MB / 3.589 GB, free: 142.4 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.005203/4.89, allocations: 1.431 MB / 3.59 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00366/4.893, allocations: 3.292 MB / 3.593 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/4.893, allocations: 1.625 kB / 3.593 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/4.896, allocations: 2.195 MB / 3.595 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/4.897, allocations: 219.3 kB / 3.596 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/4.904, allocations: 3.722 MB / 3.599 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/4.906, allocations: 1.408 MB / 3.601 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/4.906, allocations: 3.969 kB / 3.601 GB, free: 140.2 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)