Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",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.0008999/0.0008999, allocations: 183.1 kB / 8.138 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 1.022/1.022, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.0008156/0.0008155, allocations: 78.81 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.293/0.293, allocations: 48.75 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09023/0.3832, allocations: 66.36 MB / 424.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.4737, allocations: 60.27 MB / 485.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.819/4.293, allocations: 2.785 GB / 3.259 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/4.293, allocations: 76.19 kB / 3.259 GB, free: 79.32 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.3248/4.618, allocations: 81.88 MB / 3.339 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/4.618, allocations: 7.875 kB / 3.339 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/4.618, allocations: 95.61 kB / 3.339 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/4.619, allocations: 0.5875 MB / 3.34 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/4.619, allocations: 14.31 kB / 3.34 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/4.619, allocations: 26.19 kB / 3.34 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006903/4.62, allocations: 0.4893 MB / 3.34 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/4.62, allocations: 0.6477 MB / 3.341 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/4.621, allocations: 5.531 kB / 3.341 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/4.621, allocations: 9.781 kB / 3.341 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/4.621, allocations: 35.62 kB / 3.341 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/4.623, allocations: 3.957 MB / 3.345 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/4.623, allocations: 419.3 kB / 3.345 GB, free: 99.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/4.623, allocations: 183.1 kB / 3.345 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02526/4.649, allocations: 15.05 MB / 3.36 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/4.649, allocations: 39.39 kB / 3.36 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.126e-06/4.649, allocations: 7.219 kB / 3.36 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001193/4.65, allocations: 0.5282 MB / 3.361 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/4.65, allocations: 55.19 kB / 3.361 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/4.65, allocations: 308.6 kB / 3.361 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/4.65, allocations: 25.7 kB / 3.361 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/4.65, allocations: 234.5 kB / 3.361 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/4.65, allocations: 133.9 kB / 3.361 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/4.65, allocations: 0 / 3.361 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/4.65, allocations: 364.3 kB / 3.362 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/4.651, allocations: 141.7 kB / 3.362 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/4.651, allocations: 200 kB / 3.362 GB, free: 89.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/4.651, allocations: 199.5 kB / 3.362 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/4.651, allocations: 2.078 kB / 3.362 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001034/4.652, allocations: 0.5716 MB / 3.363 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/4.652, allocations: 7.438 kB / 3.363 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/4.652, allocations: 6.891 kB / 3.363 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/4.652, allocations: 3.969 kB / 3.363 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/4.653, allocations: 75.11 kB / 3.363 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/4.653, allocations: 3.75 kB / 3.363 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/4.653, allocations: 42.39 kB / 3.363 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/4.653, allocations: 15.03 kB / 3.363 GB, free: 89.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,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 (39): * Single equations (assignments): 37 * 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 6.688e-05/4.653, allocations: 112 kB / 3.363 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/4.653, allocations: 182 kB / 3.363 GB, free: 89.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/4.655, allocations: 2.1 MB / 3.365 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/4.655, allocations: 32.73 kB / 3.365 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/4.655, allocations: 0 / 3.365 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/4.655, allocations: 3.609 kB / 3.365 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/4.656, allocations: 0.8843 MB / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/4.656, allocations: 0 / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/4.656, allocations: 55.48 kB / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/4.656, allocations: 7.125 kB / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/4.656, allocations: 7.375 kB / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/4.656, allocations: 3.906 kB / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/4.656, allocations: 0 / 3.366 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001495/4.658, allocations: 1.673 MB / 3.368 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001616/4.659, allocations: 2.067 MB / 3.37 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/4.659, allocations: 146.9 kB / 3.37 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/4.66, allocations: 3.562 kB / 3.37 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/4.66, allocations: 26.28 kB / 3.37 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/4.66, allocations: 26.05 kB / 3.37 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/4.66, allocations: 7.781 kB / 3.37 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001529/4.66, allocations: 241.4 kB / 3.37 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002555/4.663, allocations: 0.5862 MB / 3.371 GB, free: 87.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: 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.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.001586/4.664, allocations: 0.6344 MB / 3.372 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007725/4.665, allocations: 0.953 MB / 3.373 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/4.665, allocations: 0 / 3.373 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005607/4.665, allocations: 0.9091 MB / 3.373 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/4.666, allocations: 144.7 kB / 3.374 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/4.668, allocations: 1.555 MB / 3.375 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/4.668, allocations: 1.112 MB / 3.376 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/4.668, allocations: 3.281 kB / 3.376 GB, free: 86.61 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)