Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 190.4 kB / 7.803 MB, free: 2.488 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.406/1.406, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001057/0.001058, allocations: 91.42 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2546/0.4759, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.8809, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.947/7.828, allocations: 3.119 GB / 3.585 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/7.829, allocations: 97.23 kB / 3.585 GB, free: 118.5 MB / 0.4948 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 3.751/11.58, allocations: 1.133 GB / 4.718 GB, free: 73.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/11.58, allocations: 10.19 kB / 4.718 GB, free: 73.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/11.58, allocations: 88.88 kB / 4.718 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/11.58, allocations: 0.5372 MB / 4.719 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/11.58, allocations: 94.7 kB / 4.719 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/11.58, allocations: 29.84 kB / 4.719 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/11.58, allocations: 0.5579 MB / 4.719 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/11.59, allocations: 0.7444 MB / 4.72 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/11.59, allocations: 8.625 kB / 4.72 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/11.59, allocations: 3.531 kB / 4.72 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/11.59, allocations: 39.45 kB / 4.72 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/11.59, allocations: 4.005 MB / 4.724 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/11.59, allocations: 228 kB / 4.724 GB, free: 69.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/11.59, allocations: 171.2 kB / 4.725 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/11.59, allocations: 349.6 kB / 4.725 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/11.59, allocations: 40.73 kB / 4.725 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.836e-06/11.59, allocations: 0 / 4.725 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003625/11.6, allocations: 1.273 MB / 4.726 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/11.6, allocations: 135.8 kB / 4.726 GB, free: 68.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/11.6, allocations: 453.3 kB / 4.727 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/11.6, allocations: 25.7 kB / 4.727 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/11.6, allocations: 325 kB / 4.727 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/11.6, allocations: 132.7 kB / 4.727 GB, free: 68.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/11.6, allocations: 0 / 4.727 GB, free: 68.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/11.6, allocations: 374.6 kB / 4.728 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/11.6, allocations: 201.4 kB / 4.728 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/11.6, allocations: 498.8 kB / 4.728 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/11.6, allocations: 328.4 kB / 4.729 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/11.6, allocations: 0 / 4.729 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002125/11.6, allocations: 0.896 MB / 4.729 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/11.6, allocations: 7.906 kB / 4.729 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/11.6, allocations: 9.219 kB / 4.729 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008792/11.6, allocations: 225 kB / 4.73 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/11.6, allocations: 124.7 kB / 4.73 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009073/11.6, allocations: 0.8998 MB / 4.731 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/11.6, allocations: 34.44 kB / 4.731 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/11.6, allocations: 38.45 kB / 4.731 GB, free: 67.06 MB / 0.5105 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.0001615/11.6, allocations: 129.9 kB / 4.731 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/11.6, allocations: 62.38 kB / 4.731 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/11.61, allocations: 0.6311 MB / 4.731 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/11.61, allocations: 8.812 kB / 4.731 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/11.61, allocations: 0 / 4.731 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/11.61, allocations: 0 / 4.731 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/11.61, allocations: 1.508 MB / 4.733 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/11.61, allocations: 3.75 kB / 4.733 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/11.61, allocations: 176.5 kB / 4.733 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/11.61, allocations: 63.19 kB / 4.733 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/11.61, allocations: 8.219 kB / 4.733 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/11.61, allocations: 2.671 MB / 4.736 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/11.61, allocations: 7.656 kB / 4.736 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001503/11.61, allocations: 0.9793 MB / 4.737 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002072/11.61, allocations: 1.686 MB / 4.738 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/11.62, allocations: 191 kB / 4.739 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/11.62, allocations: 3.719 kB / 4.739 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/11.62, allocations: 13.67 kB / 4.739 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/11.62, allocations: 40.06 kB / 4.739 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/11.62, allocations: 20.17 kB / 4.739 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003983/11.62, allocations: 323.6 kB / 4.739 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001882/11.62, allocations: 260 kB / 4.739 GB, free: 62.5 MB / 0.5105 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.0008115/11.62, allocations: 408.6 kB / 4.74 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001035/11.62, allocations: 0.5389 MB / 4.74 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/11.62, allocations: 3.938 kB / 4.74 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/11.62, allocations: 468.2 kB / 4.741 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/11.62, allocations: 259.8 kB / 4.741 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/11.63, allocations: 0.9798 MB / 4.742 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007866/11.63, allocations: 1.018 MB / 4.743 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/11.63, allocations: 3.75 kB / 4.743 GB, free: 61.27 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)