Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",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.0009003/0.0009004, allocations: 182.7 kB / 8.136 MB, free: 2.199 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.9983/0.9983, 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.000836/0.0008359, allocations: 95.33 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.274/0.274, allocations: 48.75 MB / 358.4 MB, free: 53.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.08599/0.3601, allocations: 66.38 MB / 424.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.4519, allocations: 60.26 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.898/4.35, allocations: 2.831 GB / 3.304 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001509/4.35, allocations: 70.91 kB / 3.304 GB, free: 35.48 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.4283/4.779, allocations: 122 MB / 3.423 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/4.779, allocations: 12 kB / 3.423 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/4.78, allocations: 170.1 kB / 3.424 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/4.781, allocations: 351.2 kB / 3.424 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/4.781, allocations: 130.9 kB / 3.424 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/4.781, allocations: 20 kB / 3.424 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002096/4.784, allocations: 1.411 MB / 3.425 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/4.785, allocations: 1.004 MB / 3.426 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/4.785, allocations: 7.875 kB / 3.426 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/4.785, allocations: 4 kB / 3.426 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/4.785, allocations: 12.66 kB / 3.426 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/4.789, allocations: 4.713 MB / 3.431 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/4.789, allocations: 0.7112 MB / 3.432 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/4.79, allocations: 0.6038 MB / 3.432 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1391/4.929, allocations: 79.6 MB / 3.51 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/4.929, allocations: 34.89 kB / 3.51 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.076e-06/4.929, allocations: 0 / 3.51 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.008349/4.938, allocations: 2.693 MB / 3.513 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/4.938, allocations: 63.3 kB / 3.513 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/4.938, allocations: 130.6 kB / 3.513 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/4.938, allocations: 33.7 kB / 3.513 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/4.938, allocations: 144.6 kB / 3.513 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/4.938, allocations: 141.9 kB / 3.513 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/4.938, allocations: 0 / 3.513 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/4.938, allocations: 330.7 kB / 3.514 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/4.939, allocations: 0.5748 MB / 3.514 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/4.94, allocations: 0.6607 MB / 3.515 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/4.94, allocations: 451.7 kB / 3.515 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/4.94, allocations: 3.938 kB / 3.515 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002505/4.943, allocations: 1.36 MB / 3.516 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/4.943, allocations: 7.438 kB / 3.516 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/4.943, allocations: 4 kB / 3.516 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/4.943, allocations: 4.312 kB / 3.517 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/4.945, allocations: 0.5656 MB / 3.517 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/4.945, allocations: 15.92 kB / 3.517 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/4.947, allocations: 363.6 kB / 3.517 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/4.948, allocations: 51.91 kB / 3.517 GB, free: 18.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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.0002216/4.948, allocations: 128.7 kB / 3.518 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/4.948, allocations: 179.6 kB / 3.518 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/4.952, allocations: 2.88 MB / 3.521 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002272/4.954, allocations: 2.358 MB / 3.523 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/4.954, allocations: 4 kB / 3.523 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/4.954, allocations: 7.984 kB / 3.523 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/4.958, allocations: 4.606 MB / 3.527 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/4.958, allocations: 0 / 3.527 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/4.961, allocations: 0.5891 MB / 3.528 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/4.961, allocations: 4 kB / 3.528 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/4.961, allocations: 39.91 kB / 3.528 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/4.961, allocations: 11.84 kB / 3.528 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/4.961, allocations: 0 / 3.528 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004388/4.965, allocations: 3.523 MB / 3.531 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1297/5.095, allocations: 5.134 MB / 3.536 GB, free: 173 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/5.095, allocations: 248.2 kB / 3.537 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/5.096, allocations: 6.531 kB / 3.537 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/5.097, allocations: 372.8 kB / 3.537 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/5.097, allocations: 73.97 kB / 3.537 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/5.098, allocations: 56.19 kB / 3.537 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.347e-05/5.098, allocations: 104.1 kB / 3.537 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004421/5.102, allocations: 1.043 MB / 3.538 GB, free: 172.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003365/5.105, allocations: 1.223 MB / 3.54 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001926/5.107, allocations: 1.89 MB / 3.541 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/5.107, allocations: 0 / 3.541 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/5.109, allocations: 1.386 MB / 3.543 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/5.109, allocations: 74.75 kB / 3.543 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/5.115, allocations: 2.766 MB / 3.545 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/5.116, allocations: 1.089 MB / 3.547 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/5.116, allocations: 0 / 3.547 GB, free: 171.9 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance_fmu --startTime=0 --stopTime=19 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)