Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",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.001487/0.001487, allocations: 180.7 kB / 8.132 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 1.085/1.085, 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.0007992/0.0007994, allocations: 91.73 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3302/0.3302, allocations: 48.76 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.108/0.4383, allocations: 66.38 MB / 424.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.5403, allocations: 60.24 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.086/5.626, allocations: 3.2 GB / 3.673 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/5.626, allocations: 84.33 kB / 3.673 GB, free: 45.41 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.6441/6.27, allocations: 215.4 MB / 3.884 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/6.271, allocations: 11.94 kB / 3.884 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/6.273, allocations: 258.6 kB / 3.884 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/6.275, allocations: 0.8312 MB / 3.885 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/6.275, allocations: 28 kB / 3.885 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/6.276, allocations: 67.94 kB / 3.885 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/6.278, allocations: 1.554 MB / 3.886 GB, free: 35.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/6.28, allocations: 1.438 MB / 3.888 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/6.28, allocations: 4 kB / 3.888 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/6.28, allocations: 0 / 3.888 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/6.28, allocations: 24 kB / 3.888 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05549/6.336, allocations: 28.48 MB / 3.916 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/6.34, allocations: 2.096 MB / 3.918 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/6.341, allocations: 1.006 MB / 3.919 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2023/6.544, allocations: 24.11 MB / 3.942 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/6.544, allocations: 52.22 kB / 3.942 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=204): time 4.498e-06/6.544, allocations: 0 / 3.942 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.008396/6.552, allocations: 3.049 MB / 3.945 GB, free: 124 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/6.552, allocations: 77.53 kB / 3.945 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/6.553, allocations: 292.9 kB / 3.946 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/6.553, allocations: 25.7 kB / 3.946 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/6.553, allocations: 169.7 kB / 3.946 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/6.553, allocations: 0.7047 MB / 3.947 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/6.553, allocations: 0 / 3.947 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001047/6.554, allocations: 408.2 kB / 3.947 GB, free: 123 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/6.555, allocations: 0.9149 MB / 3.948 GB, free: 123 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/6.556, allocations: 1.056 MB / 3.949 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/6.559, allocations: 1.266 MB / 3.95 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/6.559, allocations: 3.953 kB / 3.95 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007383/6.567, allocations: 3.541 MB / 3.954 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/6.567, allocations: 7.938 kB / 3.954 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/6.567, allocations: 3.188 kB / 3.954 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/6.577, allocations: 2.371 MB / 3.956 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/6.578, allocations: 237.9 kB / 3.956 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/6.588, allocations: 5.112 MB / 3.961 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/6.589, allocations: 113 kB / 3.961 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/6.589, allocations: 71.5 kB / 3.961 GB, free: 122.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0003196/6.59, allocations: 120.8 kB / 3.961 GB, free: 122 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009806/6.591, allocations: 244.9 kB / 3.962 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/6.601, allocations: 5.841 MB / 3.967 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/6.601, allocations: 62.55 kB / 3.967 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/6.601, allocations: 7.844 kB / 3.967 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/6.601, allocations: 12.8 kB / 3.967 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/6.612, allocations: 7.123 MB / 3.974 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/6.612, allocations: 6.469 kB / 3.974 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/6.615, allocations: 0.493 MB / 3.975 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003719/6.619, allocations: 1.077 MB / 3.976 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/6.619, allocations: 55.06 kB / 3.976 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/6.632, allocations: 17.94 MB / 3.993 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/6.632, allocations: 3.531 kB / 3.993 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01459/6.647, allocations: 7.265 MB / 4.001 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01529/6.662, allocations: 9.723 MB / 4.01 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008958/6.663, allocations: 0.5162 MB / 4.011 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/6.663, allocations: 24.81 kB / 4.011 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/6.664, allocations: 34.41 kB / 4.011 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/6.665, allocations: 141.8 kB / 4.011 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/6.665, allocations: 79.27 kB / 4.011 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002595/6.665, allocations: 247.8 kB / 4.011 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005423/6.671, allocations: 1.3 MB / 4.012 GB, free: 103.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 18 ($cse6.phase,$cse6.region,$cse12.phase,$cse12.region,$cse18.phase,$cse18.region,$cse24.phase,$cse24.region,$cse30.phase,$cse30.region,$cse36.phase,$cse36.region,$cse42.phase,$cse42.region,$cse48.phase,$cse48.region,$cse54.phase,$cse54.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 9 {2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006126/6.677, allocations: 1.405 MB / 4.014 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007165/6.684, allocations: 3.586 MB / 4.017 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/6.684, allocations: 0 / 4.017 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004333/6.688, allocations: 3.216 MB / 4.02 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/6.691, allocations: 0.5887 MB / 4.021 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/6.698, allocations: 5.258 MB / 4.026 GB, free: 98.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/6.699, allocations: 1.593 MB / 4.028 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/6.699, allocations: 4 kB / 4.028 GB, free: 98.01 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)