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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",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.0009526/0.0009525, allocations: 181.8 kB / 8.132 MB, free: 2.184 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.003/1.003, 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.0008436/0.0008436, allocations: 98.83 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.2808/0.2808, allocations: 48.76 MB / 358.4 MB, free: 53.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09043/0.3713, allocations: 66.37 MB / 424.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.4625, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.6823, allocations: 85.03 MB / 0.5567 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.6825, allocations: 76.52 kB / 0.5568 GB, free: 15.62 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: 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.01234/0.6949, allocations: 4.779 MB / 0.5615 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.6949, allocations: 8 kB / 0.5615 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.695, allocations: 35.62 kB / 0.5615 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.6956, allocations: 366.3 kB / 0.5619 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.6956, allocations: 4 kB / 0.5619 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.6957, allocations: 14.16 kB / 0.5619 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.6959, allocations: 143.9 kB / 0.562 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.6962, allocations: 247.8 kB / 0.5623 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6963, allocations: 0 / 0.5623 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.6963, allocations: 3.938 kB / 0.5623 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.6963, allocations: 8 kB / 0.5623 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.6975, allocations: 0.9824 MB / 0.5632 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.6978, allocations: 145.2 kB / 0.5634 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.6979, allocations: 53.7 kB / 0.5634 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6979, allocations: 4 kB / 0.5634 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.6979, allocations: 42.12 kB / 0.5635 GB, free: 8.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.698, allocations: 0 / 0.5635 GB, free: 8.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003049/0.6983, allocations: 149.5 kB / 0.5636 GB, free: 8.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6983, allocations: 102.8 kB / 0.5637 GB, free: 8.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.6985, allocations: 209.1 kB / 0.5639 GB, free: 8.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6985, allocations: 25.7 kB / 0.5639 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.6986, allocations: 140.1 kB / 0.5641 GB, free: 7.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.6986, allocations: 51.27 kB / 0.5641 GB, free: 7.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.6987, allocations: 0 / 0.5641 GB, free: 7.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6988, allocations: 337.6 kB / 0.5644 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.6988, allocations: 51.92 kB / 0.5645 GB, free: 7.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.6989, allocations: 84.27 kB / 0.5646 GB, free: 7.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.068e-05/0.699, allocations: 64 kB / 0.5646 GB, free: 7.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.699, allocations: 4 kB / 0.5646 GB, free: 7.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002391/0.6993, allocations: 177.2 kB / 0.5648 GB, free: 7.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6993, allocations: 8.766 kB / 0.5648 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6993, allocations: 0 / 0.5648 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6993, allocations: 4 kB / 0.5648 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.6996, allocations: 59.97 kB / 0.5649 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6996, allocations: 3.906 kB / 0.5649 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.6998, allocations: 23.92 kB / 0.5649 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6998, allocations: 4 kB / 0.5649 GB, free: 7.109 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.883e-05/0.6999, allocations: 108.9 kB / 0.565 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.6999, allocations: 23.72 kB / 0.565 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.7, allocations: 29.7 kB / 0.5651 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7, allocations: 0 / 0.5651 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7, allocations: 0 / 0.5651 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7, allocations: 4.75 kB / 0.5651 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.7003, allocations: 265.9 kB / 0.5653 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7003, allocations: 0 / 0.5653 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.7006, allocations: 59.91 kB / 0.5654 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7006, allocations: 0 / 0.5654 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.7007, allocations: 4 kB / 0.5654 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7007, allocations: 0 / 0.5654 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7007, allocations: 5.984 kB / 0.5654 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003509/0.701, allocations: 395 kB / 0.5658 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004917/0.7015, allocations: 0.8312 MB / 0.5666 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.7016, allocations: 96.83 kB / 0.5667 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.7017, allocations: 4 kB / 0.5667 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.7019, allocations: 23.89 kB / 0.5667 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.7019, allocations: 7.984 kB / 0.5667 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.7019, allocations: 4 kB / 0.5667 GB, free: 5.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000133/0.7021, allocations: 173.2 kB / 0.5669 GB, free: 5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008805/0.703, allocations: 70.53 kB / 0.5669 GB, free: 4.934 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.0001427/0.7031, allocations: 115.9 kB / 0.567 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.7033, allocations: 115.9 kB / 0.5672 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7033, allocations: 0 / 0.5672 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.7034, allocations: 55.94 kB / 0.5672 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.7038, allocations: 74.11 kB / 0.5673 GB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.7047, allocations: 0.5717 MB / 0.5678 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.7051, allocations: 0.8214 MB / 0.5686 GB, free: 3.145 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7051, allocations: 0 / 0.5686 GB, free: 3.145 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1)