Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.001592/0.001592, allocations: 207.9 kB / 8.546 MB, free: 1.77 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.156/1.156, allocations: 225.5 MB / 234.4 MB, free: 14.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009134/0.0009134, allocations: 95.83 kB / 286.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2765/0.2765, allocations: 45.14 MB / 383.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1116/0.3881, allocations: 69.38 MB / 452.7 MB, free: 5.355 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.653, allocations: 63.23 MB / 0.5039 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.649/1.302, allocations: 423.1 MB / 0.917 GB, free: 184.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.302, allocations: 97.95 kB / 0.9171 GB, free: 184.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.2236/1.526, allocations: 122.4 MB / 1.037 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/1.526, allocations: 8 kB / 1.037 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/1.526, allocations: 91.05 kB / 1.037 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/1.527, allocations: 0.5329 MB / 1.037 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/1.527, allocations: 92.3 kB / 1.037 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/1.527, allocations: 32 kB / 1.037 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008556/1.528, allocations: 0.5606 MB / 1.038 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/1.529, allocations: 0.7431 MB / 1.039 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/1.529, allocations: 7.938 kB / 1.039 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/1.529, allocations: 0 / 1.039 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/1.529, allocations: 40.98 kB / 1.039 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/1.533, allocations: 4.013 MB / 1.043 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/1.533, allocations: 218.5 kB / 1.043 GB, free: 61.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/1.533, allocations: 165.4 kB / 1.043 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/1.534, allocations: 352.7 kB / 1.043 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/1.534, allocations: 42.78 kB / 1.043 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/1.534, allocations: 0 / 1.043 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002869/1.537, allocations: 1.268 MB / 1.045 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/1.537, allocations: 132.5 kB / 1.045 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/1.537, allocations: 446 kB / 1.045 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/1.537, allocations: 41.64 kB / 1.045 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.537, allocations: 323.1 kB / 1.046 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/1.537, allocations: 134 kB / 1.046 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/1.537, allocations: 0 / 1.046 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/1.537, allocations: 374.7 kB / 1.046 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/1.538, allocations: 197.5 kB / 1.046 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/1.538, allocations: 0.4905 MB / 1.047 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/1.539, allocations: 328.5 kB / 1.047 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.539, allocations: 4 kB / 1.047 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001757/1.54, allocations: 0.8779 MB / 1.048 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.54, allocations: 8 kB / 1.048 GB, free: 56.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.54, allocations: 8 kB / 1.048 GB, free: 56.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008209/1.541, allocations: 229.1 kB / 1.048 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/1.542, allocations: 127.8 kB / 1.048 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007656/1.542, allocations: 0.8879 MB / 1.049 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/1.543, allocations: 39.94 kB / 1.049 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.543, allocations: 35.98 kB / 1.049 GB, free: 54.95 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 (73): * Single equations (assignments): 72 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.543, allocations: 136.8 kB / 1.049 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/1.543, allocations: 59.25 kB / 1.049 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/1.545, allocations: 0.6229 MB / 1.05 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.545, allocations: 8.031 kB / 1.05 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.545, allocations: 0 / 1.05 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.545, allocations: 4 kB / 1.05 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1.547, allocations: 1.507 MB / 1.051 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.547, allocations: 4 kB / 1.051 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.548, allocations: 172 kB / 1.052 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/1.548, allocations: 60.94 kB / 1.052 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.548, allocations: 8 kB / 1.052 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.549, allocations: 2.686 MB / 1.054 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.549, allocations: 4 kB / 1.054 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001265/1.551, allocations: 0.9843 MB / 1.055 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001624/1.552, allocations: 1.631 MB / 1.057 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/1.553, allocations: 196.3 kB / 1.057 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.553, allocations: 7.984 kB / 1.057 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/1.553, allocations: 11.98 kB / 1.057 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/1.553, allocations: 31.94 kB / 1.057 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/1.553, allocations: 19.98 kB / 1.057 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002805/1.553, allocations: 326.9 kB / 1.057 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001405/1.555, allocations: 231.9 kB / 1.058 GB, free: 45.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004427/1.555, allocations: 262.6 kB / 1.058 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008278/1.556, allocations: 0.539 MB / 1.058 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.556, allocations: 4 kB / 1.058 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.557, allocations: 474.5 kB / 1.059 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.559, allocations: 251.7 kB / 1.059 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/1.56, allocations: 0.9822 MB / 1.06 GB, free: 43.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/1.561, allocations: 1.028 MB / 1.061 GB, free: 42.13 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/1.561, allocations: 0 / 1.061 GB, free: 42.13 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)