Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",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.0009149/0.0009149, allocations: 182.8 kB / 8.137 MB, free: 2.188 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.013/1.013, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0008806/0.0008807, allocations: 92.81 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2942/0.2942, allocations: 48.76 MB / 358.5 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.093/0.3873, allocations: 66.36 MB / 424.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.4808, allocations: 60.26 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.679/5.16, allocations: 2.901 GB / 3.374 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/5.16, allocations: 81.16 kB / 3.375 GB, free: 136.5 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 1.901/7.062, allocations: 0.656 GB / 4.031 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/7.062, allocations: 5.781 kB / 4.031 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/7.062, allocations: 114.2 kB / 4.031 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/7.063, allocations: 0.5435 MB / 4.031 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/7.064, allocations: 23.19 kB / 4.031 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/7.064, allocations: 35.62 kB / 4.031 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009118/7.065, allocations: 430 kB / 4.032 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/7.066, allocations: 0.7348 MB / 4.032 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/7.066, allocations: 0 / 4.032 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/7.066, allocations: 3.938 kB / 4.032 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/7.066, allocations: 14.19 kB / 4.032 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/7.069, allocations: 4.27 MB / 4.037 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/7.07, allocations: 342 kB / 4.037 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/7.07, allocations: 153.5 kB / 4.037 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05754/7.127, allocations: 32.01 MB / 4.068 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/7.128, allocations: 43.28 kB / 4.068 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.346e-06/7.128, allocations: 0 / 4.068 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001595/7.129, allocations: 473.7 kB / 4.069 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/7.129, allocations: 85.27 kB / 4.069 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/7.13, allocations: 289.4 kB / 4.069 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/7.13, allocations: 26.77 kB / 4.069 GB, free: 19.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/7.13, allocations: 288.7 kB / 4.069 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/7.13, allocations: 104.8 kB / 4.07 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/7.13, allocations: 0 / 4.07 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001198/7.13, allocations: 356.9 kB / 4.07 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/7.131, allocations: 113.9 kB / 4.07 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/7.131, allocations: 192.4 kB / 4.07 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/7.131, allocations: 128.8 kB / 4.07 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/7.131, allocations: 1.875 kB / 4.07 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001312/7.133, allocations: 0.5103 MB / 4.071 GB, free: 18.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/7.133, allocations: 0.8681 MB / 4.072 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/7.133, allocations: 5.75 kB / 4.072 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/7.133, allocations: 6.234 kB / 4.072 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/7.133, allocations: 104.6 kB / 4.072 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/7.134, allocations: 6.625 kB / 4.072 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/7.134, allocations: 69.52 kB / 4.072 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/7.134, allocations: 13.94 kB / 4.072 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/7.134, allocations: 12.69 kB / 4.072 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000672/7.135, allocations: 243 kB / 4.072 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/7.135, allocations: 6 kB / 4.072 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/7.135, allocations: 4.375 kB / 4.072 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/7.135, allocations: 90.69 kB / 4.072 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/7.135, allocations: 11.06 kB / 4.072 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/7.136, allocations: 62.28 kB / 4.072 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/7.136, allocations: 23.78 kB / 4.072 GB, free: 17.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * 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 0.0001285/7.136, allocations: 126.3 kB / 4.072 GB, free: 17.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/7.136, allocations: 163.8 kB / 4.073 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/7.139, allocations: 1.798 MB / 4.074 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/7.139, allocations: 26.98 kB / 4.074 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/7.139, allocations: 0 / 4.074 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/7.139, allocations: 4.422 kB / 4.074 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/7.14, allocations: 0.8701 MB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/7.14, allocations: 5.156 kB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/7.14, allocations: 75.39 kB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/7.14, allocations: 2.469 kB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/7.14, allocations: 12.92 kB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/7.14, allocations: 1.969 kB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/7.14, allocations: 0.9062 kB / 4.075 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0021/7.142, allocations: 1.545 MB / 4.077 GB, free: 32.51 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002402/7.145, allocations: 1.97 MB / 4.079 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/7.145, allocations: 182.3 kB / 4.079 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/7.145, allocations: 0 / 4.079 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/7.146, allocations: 63.77 kB / 4.079 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/7.146, allocations: 34.38 kB / 4.079 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/7.146, allocations: 11.92 kB / 4.079 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0002358/7.146, allocations: 230 kB / 4.079 GB, free: 31.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006495/7.153, allocations: 1.354 MB / 4.081 GB, free: 31.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.008185/7.161, allocations: 2.144 MB / 4.083 GB, free: 31.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001546/7.162, allocations: 0.9597 MB / 4.084 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/7.162, allocations: 0 / 4.084 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/7.163, allocations: 0.7919 MB / 4.084 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/7.165, allocations: 212.1 kB / 4.085 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/7.168, allocations: 1.421 MB / 4.086 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/7.169, allocations: 1.059 MB / 4.087 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/7.169, allocations: 0 / 4.087 GB, free: 28.93 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestJoin_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestJoin.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)