Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.001061/0.001061, allocations: 202.3 kB / 8.541 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.169/1.169, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009792/0.0009793, allocations: 91.48 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1669/0.1669, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2047/0.3716, allocations: 69.39 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.4587, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.517/4.976, allocations: 3.127 GB / 3.631 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/4.976, allocations: 90.17 kB / 3.631 GB, free: 149.5 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 2.532/7.508, allocations: 1.14 GB / 4.771 GB, free: 54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/7.508, allocations: 8 kB / 4.771 GB, free: 54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/7.508, allocations: 94.12 kB / 4.771 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/7.509, allocations: 0.5389 MB / 4.772 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/7.51, allocations: 84.16 kB / 4.772 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/7.51, allocations: 32 kB / 4.772 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008627/7.511, allocations: 0.5593 MB / 4.772 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/7.512, allocations: 0.7538 MB / 4.773 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/7.512, allocations: 4 kB / 4.773 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/7.512, allocations: 4 kB / 4.773 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/7.512, allocations: 39.42 kB / 4.773 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/7.516, allocations: 4.005 MB / 4.777 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/7.516, allocations: 221.1 kB / 4.777 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/7.516, allocations: 172.3 kB / 4.777 GB, free: 47.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/7.516, allocations: 345 kB / 4.778 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/7.516, allocations: 43.3 kB / 4.778 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.534e-06/7.516, allocations: 0 / 4.778 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.003116/7.52, allocations: 1.267 MB / 4.779 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/7.52, allocations: 136.5 kB / 4.779 GB, free: 46.08 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/7.52, allocations: 448.1 kB / 4.779 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/7.52, allocations: 29.7 kB / 4.779 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/7.521, allocations: 323.1 kB / 4.78 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/7.521, allocations: 142.8 kB / 4.78 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/7.521, allocations: 0 / 4.78 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000114/7.521, allocations: 365.1 kB / 4.78 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/7.521, allocations: 205.8 kB / 4.78 GB, free: 44.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/7.522, allocations: 497.5 kB / 4.781 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/7.522, allocations: 327.7 kB / 4.781 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/7.522, allocations: 4 kB / 4.781 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002012/7.524, allocations: 0.8864 MB / 4.782 GB, free: 43.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/7.524, allocations: 8.141 kB / 4.782 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/7.524, allocations: 8 kB / 4.782 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/7.525, allocations: 236.5 kB / 4.782 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/7.526, allocations: 127 kB / 4.782 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008626/7.527, allocations: 0.8874 MB / 4.783 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/7.527, allocations: 46.27 kB / 4.783 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/7.527, allocations: 33.97 kB / 4.783 GB, free: 41.8 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.0001417/7.528, allocations: 126.1 kB / 4.783 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/7.528, allocations: 63.25 kB / 4.784 GB, free: 41.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/7.529, allocations: 0.6293 MB / 4.784 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/7.529, allocations: 8 kB / 4.784 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/7.529, allocations: 4.562 kB / 4.784 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/7.529, allocations: 1.969 kB / 4.784 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/7.531, allocations: 1.511 MB / 4.786 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/7.531, allocations: 0 / 4.786 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/7.532, allocations: 173.9 kB / 4.786 GB, free: 39.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/7.533, allocations: 56.98 kB / 4.786 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/7.533, allocations: 15.89 kB / 4.786 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/7.534, allocations: 2.669 MB / 4.788 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/7.534, allocations: 0 / 4.788 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001368/7.536, allocations: 0.9843 MB / 4.789 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001886/7.538, allocations: 1.7 MB / 4.791 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/7.538, allocations: 196.3 kB / 4.791 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/7.538, allocations: 4 kB / 4.791 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/7.539, allocations: 19.92 kB / 4.791 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/7.539, allocations: 35.92 kB / 4.791 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/7.539, allocations: 19.98 kB / 4.791 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003255/7.539, allocations: 326.9 kB / 4.792 GB, free: 33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001656/7.541, allocations: 248 kB / 4.792 GB, free: 32.75 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.0005795/7.541, allocations: 411.6 kB / 4.792 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008579/7.542, allocations: 0.5396 MB / 4.793 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/7.542, allocations: 2.953 kB / 4.793 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/7.543, allocations: 474 kB / 4.793 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/7.545, allocations: 256.8 kB / 4.794 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/7.546, allocations: 0.9895 MB / 4.795 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/7.547, allocations: 1.02 MB / 4.796 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/7.547, allocations: 4 kB / 4.796 GB, free: 29.07 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)