Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001562/0.001562, allocations: 205.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009002/0.0009002, allocations: 95.98 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.168/0.168, allocations: 45.15 MB / 383.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1987/0.3667, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.4563, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.8402, allocations: 237.5 MB / 0.7358 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.8405, allocations: 96.92 kB / 0.7359 GB, free: 15.37 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 0.9347/1.775, allocations: 347.2 MB / 1.075 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/1.775, allocations: 8 kB / 1.075 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.776, allocations: 155 kB / 1.075 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/1.778, allocations: 0.6074 MB / 1.076 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/1.778, allocations: 88.39 kB / 1.076 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/1.778, allocations: 31.91 kB / 1.076 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008269/1.779, allocations: 0.5254 MB / 1.076 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/1.78, allocations: 0.7629 MB / 1.077 GB, free: 99.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.78, allocations: 11.94 kB / 1.077 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/1.78, allocations: 7.188 kB / 1.077 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/1.78, allocations: 40.97 kB / 1.077 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/1.784, allocations: 4.518 MB / 1.082 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/1.784, allocations: 261.2 kB / 1.082 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/1.784, allocations: 142.5 kB / 1.082 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/1.785, allocations: 436.4 kB / 1.082 GB, free: 93.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/1.785, allocations: 38.56 kB / 1.082 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/1.785, allocations: 0 / 1.082 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004041/1.789, allocations: 1.386 MB / 1.084 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/1.789, allocations: 135.4 kB / 1.084 GB, free: 91.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/1.789, allocations: 474 kB / 1.084 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/1.789, allocations: 25.7 kB / 1.084 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.789, allocations: 338.8 kB / 1.085 GB, free: 91.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/1.789, allocations: 126.1 kB / 1.085 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/1.789, allocations: 0 / 1.085 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/1.79, allocations: 374.2 kB / 1.085 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/1.79, allocations: 193.5 kB / 1.085 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/1.79, allocations: 489.4 kB / 1.086 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.791, allocations: 348.4 kB / 1.086 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.791, allocations: 4 kB / 1.086 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001944/1.793, allocations: 0.8576 MB / 1.087 GB, free: 88.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.793, allocations: 4 kB / 1.087 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.793, allocations: 12 kB / 1.087 GB, free: 88.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008726/1.794, allocations: 241.1 kB / 1.087 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/1.795, allocations: 131.8 kB / 1.087 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/1.796, allocations: 1.454 MB / 1.089 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/1.796, allocations: 27.17 kB / 1.089 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.355e-05/1.797, allocations: 72.05 kB / 1.089 GB, free: 86.62 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.0001456/1.797, allocations: 132.8 kB / 1.089 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.797, allocations: 67.23 kB / 1.089 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/1.799, allocations: 1.113 MB / 1.09 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.799, allocations: 8 kB / 1.09 GB, free: 85.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.799, allocations: 7.344 kB / 1.09 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.799, allocations: 7.922 kB / 1.09 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/1.802, allocations: 1.314 MB / 1.091 GB, free: 84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.802, allocations: 3.531 kB / 1.091 GB, free: 84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.802, allocations: 35.98 kB / 1.091 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/1.802, allocations: 169.5 kB / 1.092 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.802, allocations: 11.19 kB / 1.092 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009664/1.803, allocations: 1.357 MB / 1.093 GB, free: 82.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.803, allocations: 0 / 1.093 GB, free: 82.38 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00145/1.805, allocations: 1.015 MB / 1.094 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001859/1.807, allocations: 1.687 MB / 1.096 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/1.807, allocations: 199.4 kB / 1.096 GB, free: 79.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.807, allocations: 4 kB / 1.096 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/1.808, allocations: 11.98 kB / 1.096 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/1.808, allocations: 31.62 kB / 1.096 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/1.808, allocations: 27.33 kB / 1.096 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003316/1.808, allocations: 346.9 kB / 1.096 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001973/1.81, allocations: 458.7 kB / 1.097 GB, free: 78.55 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.001284/1.811, allocations: 0.5133 MB / 1.097 GB, free: 78.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008743/1.812, allocations: 0.548 MB / 1.098 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.812, allocations: 0 / 1.098 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004626/1.813, allocations: 259.6 kB / 1.098 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.814, allocations: 249.9 kB / 1.098 GB, free: 77.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03202/1.846, allocations: 15.92 MB / 1.114 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/1.847, allocations: 1.062 MB / 1.115 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/1.847, allocations: 0 / 1.115 GB, free: 60.29 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)