Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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 trunk/package.mo): time 0.001058/0.001058, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.000934, allocations: 88.39 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1655/0.1655, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.188/0.3535, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.4346, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.8029, allocations: 237.3 MB / 0.7356 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.8032, allocations: 95.02 kB / 0.7357 GB, free: 15.46 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.016/1.819, allocations: 372.2 MB / 1.099 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/1.82, allocations: 12 kB / 1.099 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.821, allocations: 155 kB / 1.099 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.822, allocations: 0.6092 MB / 1.1 GB, free: 76.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/1.822, allocations: 92.33 kB / 1.1 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/1.822, allocations: 31.91 kB / 1.1 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007934/1.823, allocations: 0.5255 MB / 1.101 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/1.824, allocations: 0.7727 MB / 1.101 GB, free: 75.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.824, allocations: 7.938 kB / 1.101 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/1.824, allocations: 4 kB / 1.101 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/1.824, allocations: 40.97 kB / 1.101 GB, free: 75.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/1.828, allocations: 4.539 MB / 1.106 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/1.828, allocations: 265.9 kB / 1.106 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.828, allocations: 136.8 kB / 1.106 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/1.829, allocations: 438 kB / 1.107 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.829, allocations: 34.56 kB / 1.107 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/1.829, allocations: 0 / 1.107 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004005/1.833, allocations: 1.398 MB / 1.108 GB, free: 68.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.833, allocations: 132.5 kB / 1.108 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/1.833, allocations: 478 kB / 1.109 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/1.833, allocations: 25.7 kB / 1.109 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/1.833, allocations: 342.8 kB / 1.109 GB, free: 67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/1.833, allocations: 130.1 kB / 1.109 GB, free: 66.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/1.834, allocations: 4 kB / 1.109 GB, free: 66.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/1.834, allocations: 366.8 kB / 1.109 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/1.834, allocations: 197.5 kB / 1.11 GB, free: 66.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/1.834, allocations: 486.9 kB / 1.11 GB, free: 65.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.835, allocations: 364.2 kB / 1.11 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.835, allocations: 0 / 1.11 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001949/1.837, allocations: 0.8668 MB / 1.111 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.837, allocations: 4 kB / 1.111 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.837, allocations: 8.844 kB / 1.111 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/1.838, allocations: 240 kB / 1.112 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/1.839, allocations: 135.8 kB / 1.112 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/1.84, allocations: 1.456 MB / 1.113 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/1.84, allocations: 28.02 kB / 1.113 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/1.84, allocations: 84.05 kB / 1.113 GB, free: 62.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.841, allocations: 128.9 kB / 1.113 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.841, allocations: 63.19 kB / 1.113 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/1.843, allocations: 1.173 MB / 1.114 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.843, allocations: 8 kB / 1.114 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.843, allocations: 0 / 1.114 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.843, allocations: 3.984 kB / 1.114 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/1.845, allocations: 1.307 MB / 1.116 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.845, allocations: 0 / 1.116 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/1.846, allocations: 43.97 kB / 1.116 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/1.846, allocations: 161.5 kB / 1.116 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/1.846, allocations: 15.95 kB / 1.116 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/1.847, allocations: 1.362 MB / 1.117 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.847, allocations: 4 kB / 1.117 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001415/1.849, allocations: 1.014 MB / 1.118 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00186/1.85, allocations: 1.687 MB / 1.12 GB, free: 55.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.851, allocations: 204.4 kB / 1.12 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.851, allocations: 0 / 1.12 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/1.851, allocations: 15.98 kB / 1.12 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/1.851, allocations: 31.62 kB / 1.12 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/1.851, allocations: 28.08 kB / 1.12 GB, free: 55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003225/1.852, allocations: 350.8 kB / 1.121 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002103/1.854, allocations: 461.2 kB / 1.121 GB, free: 54.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/1.855, allocations: 0.5228 MB / 1.122 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009211/1.856, allocations: 0.5416 MB / 1.122 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.856, allocations: 0 / 1.122 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004824/1.857, allocations: 267.6 kB / 1.122 GB, free: 52.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.858, allocations: 241.2 kB / 1.123 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/1.891, allocations: 16.95 MB / 1.139 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/1.892, allocations: 1.074 MB / 1.14 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/1.892, allocations: 0 / 1.14 GB, free: 34.86 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)