Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",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.0009518/0.0009517, allocations: 181 kB / 8.133 MB, free: 2.207 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.002/1.002, 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.0007658/0.0007658, allocations: 83.38 kB / 261.7 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.28/0.28, allocations: 48.76 MB / 358.5 MB, free: 53.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09119/0.3713, allocations: 66.36 MB / 424.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.4591, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.793/4.252, allocations: 2.785 GB / 3.259 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/4.253, allocations: 75.61 kB / 3.259 GB, free: 61.43 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.3192/4.572, allocations: 79.44 MB / 3.337 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/4.572, allocations: 9.062 kB / 3.337 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/4.572, allocations: 75.19 kB / 3.337 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/4.573, allocations: 0.552 MB / 3.337 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/4.573, allocations: 10.53 kB / 3.337 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/4.573, allocations: 18.75 kB / 3.337 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004576/4.573, allocations: 381.1 kB / 3.338 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/4.574, allocations: 0.4905 MB / 3.338 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/4.574, allocations: 2.344 kB / 3.338 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/4.574, allocations: 3.844 kB / 3.338 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/4.574, allocations: 27 kB / 3.338 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/4.576, allocations: 2.666 MB / 3.341 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/4.576, allocations: 298.6 kB / 3.341 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/4.576, allocations: 173.4 kB / 3.341 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02477/4.601, allocations: 15.06 MB / 3.356 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/4.601, allocations: 33.09 kB / 3.356 GB, free: 99.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/4.601, allocations: 0 / 3.356 GB, free: 99.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0008603/4.602, allocations: 408.9 kB / 3.357 GB, free: 99.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/4.602, allocations: 55.19 kB / 3.357 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/4.602, allocations: 301.6 kB / 3.357 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/4.602, allocations: 25.7 kB / 3.357 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/4.602, allocations: 201.9 kB / 3.357 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/4.602, allocations: 105.5 kB / 3.357 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/4.602, allocations: 0 / 3.357 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/4.602, allocations: 345.9 kB / 3.357 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/4.602, allocations: 112.4 kB / 3.358 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/4.603, allocations: 153.7 kB / 3.358 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/4.603, allocations: 143.3 kB / 3.358 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/4.603, allocations: 3.938 kB / 3.358 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007249/4.604, allocations: 428.4 kB / 3.358 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/4.604, allocations: 3.906 kB / 3.358 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/4.604, allocations: 0 / 3.358 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/4.604, allocations: 8.031 kB / 3.358 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/4.604, allocations: 53.45 kB / 3.358 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/4.604, allocations: 3.719 kB / 3.358 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/4.604, allocations: 26.84 kB / 3.358 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/4.604, allocations: 11.03 kB / 3.358 GB, free: 98.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 5.959e-05/4.604, allocations: 116 kB / 3.359 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/4.604, allocations: 114.6 kB / 3.359 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/4.605, allocations: 1.288 MB / 3.36 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/4.606, allocations: 21.92 kB / 3.36 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/4.606, allocations: 0 / 3.36 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/4.606, allocations: 7.141 kB / 3.36 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/4.606, allocations: 0.6305 MB / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/4.606, allocations: 0 / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/4.606, allocations: 44.92 kB / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/4.606, allocations: 0 / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/4.606, allocations: 6.125 kB / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/4.606, allocations: 3.969 kB / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/4.606, allocations: 0 / 3.361 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009649/4.607, allocations: 1.092 MB / 3.362 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001049/4.608, allocations: 1.484 MB / 3.363 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/4.608, allocations: 119.7 kB / 3.363 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/4.608, allocations: 3.906 kB / 3.363 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/4.609, allocations: 15.36 kB / 3.363 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/4.609, allocations: 23.11 kB / 3.363 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/4.609, allocations: 13.97 kB / 3.363 GB, free: 96.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001469/4.609, allocations: 234.6 kB / 3.363 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002121/4.611, allocations: 0.5508 MB / 3.364 GB, free: 96.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.001658/4.613, allocations: 0.6402 MB / 3.365 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005537/4.613, allocations: 0.6113 MB / 3.365 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/4.613, allocations: 0 / 3.365 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/4.614, allocations: 0.563 MB / 3.366 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/4.614, allocations: 120.2 kB / 3.366 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/4.616, allocations: 1.107 MB / 3.367 GB, free: 96.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/4.616, allocations: 1.001 MB / 3.368 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/4.616, allocations: 0 / 3.368 GB, free: 95.63 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)