Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.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.TestFlowDependentHeatTransferCoefficient2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph",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.0009059/0.0009059, allocations: 181.9 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.9941/0.9941, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008041/0.0008042, allocations: 82.84 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.2914/0.2914, allocations: 48.76 MB / 358.4 MB, free: 53.17 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.09807/0.3895, allocations: 66.38 MB / 424.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.484, allocations: 60.24 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.117/4.601, allocations: 2.841 GB / 3.314 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/4.601, allocations: 77.52 kB / 3.314 GB, free: 150.4 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.2828/4.884, allocations: 117.5 MB / 3.429 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/4.884, allocations: 11.98 kB / 3.429 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/4.885, allocations: 151.2 kB / 3.429 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/4.886, allocations: 0.5182 MB / 3.43 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008994/4.887, allocations: 0.517 MB / 3.43 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/4.887, allocations: 32 kB / 3.43 GB, free: 73.83 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00371/4.891, allocations: 2.712 MB / 3.433 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/4.893, allocations: 1.962 MB / 3.435 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/4.893, allocations: 0 / 3.435 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/4.893, allocations: 1.125 kB / 3.435 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/4.893, allocations: 41.3 kB / 3.435 GB, free: 69.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/4.904, allocations: 8.911 MB / 3.444 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/4.906, allocations: 1.269 MB / 3.445 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/4.907, allocations: 1.06 MB / 3.446 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0619/4.969, allocations: 36.14 MB / 3.481 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/4.969, allocations: 43 kB / 3.481 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 2.374e-06/4.969, allocations: 3.938 kB / 3.481 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.004369/4.973, allocations: 1.819 MB / 3.483 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/4.973, allocations: 63.91 kB / 3.483 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/4.974, allocations: 166.9 kB / 3.483 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/4.974, allocations: 33.7 kB / 3.483 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/4.974, allocations: 232.3 kB / 3.484 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/4.974, allocations: 197 kB / 3.484 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/4.974, allocations: 0 / 3.484 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/4.974, allocations: 342.8 kB / 3.484 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/4.976, allocations: 0.9812 MB / 3.485 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/4.977, allocations: 1.083 MB / 3.486 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/4.978, allocations: 0.5083 MB / 3.487 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/4.978, allocations: 0 / 3.487 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003254/4.981, allocations: 1.88 MB / 3.488 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/4.981, allocations: 1.132 MB / 3.489 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/4.981, allocations: 4 kB / 3.489 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/4.981, allocations: 8 kB / 3.49 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/4.985, allocations: 1.096 MB / 3.491 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/4.985, allocations: 4 kB / 3.491 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/4.988, allocations: 0.9167 MB / 3.491 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/4.988, allocations: 83.8 kB / 3.492 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/4.988, allocations: 7.906 kB / 3.492 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002796/4.991, allocations: 1.684 MB / 3.493 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/4.991, allocations: 4 kB / 3.493 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/4.991, allocations: 4 kB / 3.493 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/4.994, allocations: 1.093 MB / 3.494 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/4.994, allocations: 4 kB / 3.494 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/4.997, allocations: 0.909 MB / 3.495 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/4.997, allocations: 83.8 kB / 3.495 GB, free: 2.527 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (fluidState[6].phase,fluidState[5].phase,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 (65): * Single equations (assignments): 64 * 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.0003565/4.998, allocations: 120.8 kB / 3.495 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/4.998, allocations: 175.4 kB / 3.496 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1284/5.127, allocations: 3.65 MB / 3.499 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003867/5.131, allocations: 3.129 MB / 3.502 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/5.131, allocations: 0 / 3.502 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/5.131, allocations: 3.562 kB / 3.502 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/5.139, allocations: 6.366 MB / 3.508 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.139, allocations: 0 / 3.508 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/5.143, allocations: 1.077 MB / 3.509 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/5.143, allocations: 13.09 kB / 3.509 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/5.143, allocations: 66.7 kB / 3.51 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/5.143, allocations: 3.5 kB / 3.51 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/5.143, allocations: 0 / 3.51 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003603/5.146, allocations: 2.975 MB / 3.512 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003674/5.15, allocations: 3.372 MB / 3.516 GB, free: 164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/5.15, allocations: 139.3 kB / 3.516 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/5.15, allocations: 0 / 3.516 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/5.153, allocations: 0.903 MB / 3.517 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/5.154, allocations: 119 kB / 3.517 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/5.154, allocations: 84.56 kB / 3.517 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.623e-05/5.154, allocations: 131.1 kB / 3.517 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005929/5.16, allocations: 1.467 MB / 3.518 GB, free: 163.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: 14 ($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.region3boundary,$cse8.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005331/5.165, allocations: 1.195 MB / 3.52 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004795/5.17, allocations: 3.979 MB / 3.524 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/5.17, allocations: 3.875 kB / 3.524 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/5.172, allocations: 1.859 MB / 3.525 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/5.173, allocations: 142.4 kB / 3.525 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/5.18, allocations: 3.362 MB / 3.529 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/5.181, allocations: 1.299 MB / 3.53 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/5.181, allocations: 0 / 3.53 GB, free: 162.6 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)