Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWalls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWalls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls") [: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.0009131/0.0009131, allocations: 191.2 kB / 8.137 MB, free: 2.215 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.01/1.01, 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.001036/0.001036, allocations: 103.8 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2765/0.2765, allocations: 48.75 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.964e-06, allocations: 4 kB / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09223, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.3092, allocations: 85.05 MB / 0.5567 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3094, allocations: 75.95 kB / 0.5567 GB, free: 15.67 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605:61:writable] Warning: No corresponding 'inner' declaration found for component .ThermoPower.System wall1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: ThermoPower.Thermal.MetalWallFV$wall1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605:61:writable] Warning: No corresponding 'inner' declaration found for component .ThermoPower.System wall2.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: ThermoPower.Thermal.MetalWallFV$wall2. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd: time 0.01179/0.3212, allocations: 4.226 MB / 0.5609 GB, free: 11.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.3212, allocations: 6.734 kB / 0.5609 GB, free: 11.49 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007355/0.322, allocations: 0.5385 MB / 0.5614 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.322, allocations: 8.031 kB / 0.5614 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.509e-05/0.3221, allocations: 31.62 kB / 0.5614 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.3228, allocations: 370.4 kB / 0.5618 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3228, allocations: 11.98 kB / 0.5618 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3229, allocations: 8 kB / 0.5618 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002567/0.3231, allocations: 136 kB / 0.5619 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.3235, allocations: 256.8 kB / 0.5622 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3235, allocations: 0 / 0.5622 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3235, allocations: 4 kB / 0.5622 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3235, allocations: 4 kB / 0.5622 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3248, allocations: 0.9718 MB / 0.5631 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.3251, allocations: 149.2 kB / 0.5633 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.3252, allocations: 53.7 kB / 0.5633 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3252, allocations: 4 kB / 0.5633 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3252, allocations: 30.56 kB / 0.5634 GB, free: 8.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3252, allocations: 0 / 0.5634 GB, free: 8.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002975/0.3255, allocations: 153.5 kB / 0.5635 GB, free: 8.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3256, allocations: 110.8 kB / 0.5636 GB, free: 8.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3258, allocations: 209.1 kB / 0.5638 GB, free: 8.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3258, allocations: 25.7 kB / 0.5638 GB, free: 8.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.3259, allocations: 140.1 kB / 0.564 GB, free: 8.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.3259, allocations: 47.27 kB / 0.564 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.326, allocations: 0 / 0.564 GB, free: 7.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3261, allocations: 338.8 kB / 0.5643 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.3262, allocations: 51.98 kB / 0.5644 GB, free: 7.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.3263, allocations: 84.27 kB / 0.5645 GB, free: 7.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.3264, allocations: 66.59 kB / 0.5645 GB, free: 7.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3264, allocations: 0 / 0.5645 GB, free: 7.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002683/0.3266, allocations: 178.6 kB / 0.5647 GB, free: 7.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3267, allocations: 12.88 kB / 0.5647 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3267, allocations: 0 / 0.5647 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3267, allocations: 0 / 0.5647 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.3269, allocations: 55.91 kB / 0.5648 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3269, allocations: 3.906 kB / 0.5648 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3271, allocations: 23.92 kB / 0.5648 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3271, allocations: 4 kB / 0.5648 GB, free: 7.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.82e-05/0.3272, allocations: 112.9 kB / 0.5649 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.3273, allocations: 23.72 kB / 0.5649 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.3273, allocations: 29.64 kB / 0.565 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3273, allocations: 6.062 kB / 0.565 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3274, allocations: 4 kB / 0.565 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3274, allocations: 3.984 kB / 0.565 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.3277, allocations: 266.4 kB / 0.5652 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3277, allocations: 0 / 0.5652 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.328, allocations: 47.97 kB / 0.5653 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.328, allocations: 7.5 kB / 0.5653 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.328, allocations: 0 / 0.5653 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.328, allocations: 8 kB / 0.5653 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.328, allocations: 0 / 0.5653 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003684/0.3284, allocations: 400.4 kB / 0.5657 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.3285, allocations: 104.8 kB / 0.5658 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.3285, allocations: 0 / 0.5658 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3287, allocations: 23.89 kB / 0.5658 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.3288, allocations: 15.97 kB / 0.5658 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3288, allocations: 4 kB / 0.5658 GB, free: 6.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001397/0.3289, allocations: 169.2 kB / 0.566 GB, free: 5.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.3293, allocations: 59.84 kB / 0.566 GB, free: 5.832 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (wall1.Tvol[1],wall1.Tvol[2],wall2.Tvol[1],wall2.Tvol[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001539/0.3294, allocations: 112 kB / 0.5661 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3296, allocations: 119.9 kB / 0.5662 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3297, allocations: 2.344 kB / 0.5663 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.3297, allocations: 59.92 kB / 0.5663 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3301, allocations: 64.41 kB / 0.5664 GB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009674/0.3311, allocations: 0.5744 MB / 0.5669 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.3315, allocations: 0.8142 MB / 0.5677 GB, free: 4.055 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3315, allocations: 0 / 0.5677 GB, free: 4.055 MB / 394.7 MB Notification: Performance of Templates: time 0.005936/0.3375, allocations: 2.934 MB / 0.5706 GB, free: 1.168 MB / 394.7 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)