Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 178.6 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 230.3 MB, free: 7.621 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 86.23 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1652/0.1652, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/0.3665, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.5045, allocations: 61.92 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.617/5.122, allocations: 3.126 GB / 3.62 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.122, allocations: 95.77 kB / 3.62 GB, free: 46.02 MB / 0.5105 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.678/7.8, allocations: 1.138 GB / 4.758 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/7.8, allocations: 8.438 kB / 4.758 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/7.801, allocations: 96.22 kB / 4.758 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/7.802, allocations: 0.534 MB / 4.758 GB, free: 91.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/7.802, allocations: 87.38 kB / 4.758 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/7.802, allocations: 28.19 kB / 4.758 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009165/7.803, allocations: 0.562 MB / 4.759 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/7.804, allocations: 0.7475 MB / 4.76 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/7.804, allocations: 4.25 kB / 4.76 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/7.804, allocations: 2.844 kB / 4.76 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/7.804, allocations: 46.58 kB / 4.76 GB, free: 91.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/7.808, allocations: 4 MB / 4.764 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/7.808, allocations: 223.5 kB / 4.764 GB, free: 89.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/7.809, allocations: 171 kB / 4.764 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/7.809, allocations: 348.8 kB / 4.764 GB, free: 88.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/7.809, allocations: 41.19 kB / 4.764 GB, free: 88.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/7.809, allocations: 3.188 kB / 4.764 GB, free: 88.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.003108/7.812, allocations: 1.267 MB / 4.766 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/7.812, allocations: 136.4 kB / 4.766 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/7.813, allocations: 453.5 kB / 4.766 GB, free: 87.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/7.813, allocations: 25.7 kB / 4.766 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/7.813, allocations: 326.1 kB / 4.767 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/7.813, allocations: 138 kB / 4.767 GB, free: 87.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/7.813, allocations: 0 / 4.767 GB, free: 87.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/7.813, allocations: 372 kB / 4.767 GB, free: 87.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/7.813, allocations: 204.1 kB / 4.767 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/7.814, allocations: 499.8 kB / 4.768 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/7.814, allocations: 329.4 kB / 4.768 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/7.814, allocations: 2.75 kB / 4.768 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001864/7.816, allocations: 0.8869 MB / 4.769 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/7.816, allocations: 7.344 kB / 4.769 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/7.816, allocations: 9.062 kB / 4.769 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008301/7.817, allocations: 228.2 kB / 4.769 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/7.818, allocations: 128.1 kB / 4.769 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009157/7.818, allocations: 0.8882 MB / 4.77 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/7.819, allocations: 36.69 kB / 4.77 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/7.819, allocations: 34.41 kB / 4.77 GB, free: 85.66 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.0001297/7.819, allocations: 138.9 kB / 4.77 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/7.819, allocations: 61.34 kB / 4.77 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/7.821, allocations: 0.626 MB / 4.771 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/7.821, allocations: 5.688 kB / 4.771 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/7.821, allocations: 0 / 4.771 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/7.821, allocations: 4.656 kB / 4.771 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/7.823, allocations: 1.504 MB / 4.772 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/7.823, allocations: 1.094 kB / 4.772 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009803/7.824, allocations: 177.5 kB / 4.773 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002376/7.824, allocations: 57.56 kB / 4.773 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/7.824, allocations: 11.7 kB / 4.773 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/7.826, allocations: 2.672 MB / 4.775 GB, free: 81.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/7.826, allocations: 3.781 kB / 4.775 GB, free: 81.71 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001392/7.827, allocations: 0.9926 MB / 4.776 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001921/7.829, allocations: 1.686 MB / 4.778 GB, free: 80 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/7.83, allocations: 195.1 kB / 4.778 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/7.83, allocations: 7.031 kB / 4.778 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/7.83, allocations: 18.09 kB / 4.778 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/7.83, allocations: 34.34 kB / 4.778 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/7.83, allocations: 19.14 kB / 4.778 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003391/7.831, allocations: 329.8 kB / 4.778 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001594/7.832, allocations: 253.1 kB / 4.779 GB, free: 79.61 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.0007616/7.833, allocations: 416 kB / 4.779 GB, free: 79.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00111/7.834, allocations: 0.5373 MB / 4.78 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/7.834, allocations: 0 / 4.78 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/7.835, allocations: 478 kB / 4.78 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/7.837, allocations: 257.9 kB / 4.78 GB, free: 79.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/7.838, allocations: 0.9825 MB / 4.781 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/7.839, allocations: 1.02 MB / 4.782 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/7.839, allocations: 0 / 4.782 GB, free: 77.93 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)