Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",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.001001/0.001001, allocations: 182 kB / 8.129 MB, free: 2.219 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.9954/0.9954, 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.0008061/0.0008062, allocations: 85.3 kB / 261.7 MB, free: 13.61 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.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09249/0.369, allocations: 66.38 MB / 424.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.4559, allocations: 60.25 MB / 485.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.751/4.207, allocations: 2.88 GB / 3.353 GB, free: 148 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/4.207, allocations: 76.86 kB / 3.353 GB, free: 148 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.5507/4.758, allocations: 208.6 MB / 3.557 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/4.758, allocations: 7.938 kB / 3.557 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/4.758, allocations: 57.33 kB / 3.557 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/4.758, allocations: 310.9 kB / 3.558 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/4.758, allocations: 7.906 kB / 3.558 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/4.759, allocations: 15.84 kB / 3.558 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002817/4.759, allocations: 163.8 kB / 3.558 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/4.759, allocations: 279.5 kB / 3.558 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/4.759, allocations: 0.9688 kB / 3.558 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/4.759, allocations: 3.969 kB / 3.558 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/4.759, allocations: 7.906 kB / 3.558 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/4.76, allocations: 1.257 MB / 3.559 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/4.761, allocations: 116.3 kB / 3.559 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/4.761, allocations: 87.42 kB / 3.559 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05455/4.815, allocations: 32 MB / 3.591 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/4.815, allocations: 41.75 kB / 3.591 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/4.815, allocations: 3.875 kB / 3.591 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.00182/4.817, allocations: 0.7782 MB / 3.592 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/4.817, allocations: 55.56 kB / 3.592 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/4.817, allocations: 216.1 kB / 3.592 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/4.817, allocations: 25.7 kB / 3.592 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/4.818, allocations: 156.4 kB / 3.592 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/4.818, allocations: 95.41 kB / 3.592 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/4.818, allocations: 0 / 3.592 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/4.818, allocations: 333.8 kB / 3.592 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/4.818, allocations: 90.64 kB / 3.592 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/4.818, allocations: 106 kB / 3.593 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/4.818, allocations: 87.55 kB / 3.593 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/4.818, allocations: 3.594 kB / 3.593 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001316/4.819, allocations: 487.6 kB / 3.593 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/4.819, allocations: 185.5 kB / 3.593 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/4.819, allocations: 2.594 kB / 3.593 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/4.821, allocations: 247.9 kB / 3.594 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/4.821, allocations: 47.97 kB / 3.594 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/4.822, allocations: 0.8978 MB / 3.594 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/4.822, allocations: 27.23 kB / 3.594 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/4.822, allocations: 3.812 kB / 3.594 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/4.822, allocations: 5.344 kB / 3.594 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/4.823, allocations: 399.2 kB / 3.595 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/4.823, allocations: 0 / 3.595 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/4.824, allocations: 234.3 kB / 3.595 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/4.824, allocations: 52.16 kB / 3.595 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008811/4.825, allocations: 0.8629 MB / 3.596 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/4.825, allocations: 27 kB / 3.596 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/4.825, allocations: 10.09 kB / 3.596 GB, free: 64.02 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Accumulator1.Vl:DUMMY_DER(fixed = false ) "Volume occupied by water" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/4.826, allocations: 110.4 kB / 3.596 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/4.826, allocations: 54.59 kB / 3.596 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/4.826, allocations: 0.5285 MB / 3.597 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/4.826, allocations: 3.438 kB / 3.597 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/4.826, allocations: 0 / 3.597 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/4.826, allocations: 3.797 kB / 3.597 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/4.828, allocations: 0.9712 MB / 3.598 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/4.828, allocations: 0 / 3.598 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/4.828, allocations: 73.31 kB / 3.598 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/4.828, allocations: 55.05 kB / 3.598 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/4.828, allocations: 7.75 kB / 3.598 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007642/4.829, allocations: 1.295 MB / 3.599 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/4.829, allocations: 3.75 kB / 3.599 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00077/4.83, allocations: 0.6876 MB / 3.6 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001051/4.831, allocations: 1.235 MB / 3.601 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/4.831, allocations: 130.2 kB / 3.601 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/4.831, allocations: 0 / 3.601 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/4.831, allocations: 26.97 kB / 3.601 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/4.831, allocations: 18.36 kB / 3.601 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/4.831, allocations: 11.39 kB / 3.601 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001069/4.831, allocations: 170.8 kB / 3.601 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004725/4.836, allocations: 1.032 MB / 3.602 GB, free: 61.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.rhog,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005721/4.842, allocations: 1.321 MB / 3.604 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001375/4.843, allocations: 0.5936 MB / 3.604 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/4.843, allocations: 3.969 kB / 3.604 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/4.844, allocations: 343 kB / 3.604 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/4.844, allocations: 98.67 kB / 3.605 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/4.846, allocations: 0.7486 MB / 3.605 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/4.846, allocations: 0.8444 MB / 3.606 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/4.846, allocations: 0 / 3.606 GB, free: 60.08 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)