Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.002047/0.002047, allocations: 190.1 kB / 7.802 MB, free: 2.5 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.589/1.589, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009743/0.0009743, allocations: 86.52 kB / 261.4 MB, free: 13.54 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.2234/0.2234, allocations: 43.48 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2549/0.4784, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.8966, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6646/1.561, allocations: 352.1 MB / 0.8094 GB, free: 1.309 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.562, allocations: 92 kB / 0.8095 GB, free: 1.258 MB / 490.7 MB 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.5486/2.11, allocations: 131.2 MB / 0.9376 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/2.11, allocations: 12 kB / 0.9376 GB, free: 97.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007535/2.111, allocations: 87.14 kB / 0.9377 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/2.112, allocations: 0.5402 MB / 0.9382 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/2.113, allocations: 80.41 kB / 0.9383 GB, free: 96.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/2.113, allocations: 32 kB / 0.9383 GB, free: 96.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/2.114, allocations: 0.545 MB / 0.9389 GB, free: 96.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.115, allocations: 0.7555 MB / 0.9396 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/2.115, allocations: 4 kB / 0.9396 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/2.115, allocations: 0 / 0.9396 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/2.115, allocations: 48.86 kB / 0.9397 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/2.12, allocations: 4.193 MB / 0.9438 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/2.12, allocations: 205.8 kB / 0.944 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/2.121, allocations: 145 kB / 0.9441 GB, free: 90.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/2.122, allocations: 1.436 MB / 0.9455 GB, free: 88.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/2.122, allocations: 38.56 kB / 0.9455 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 2.345e-06/2.122, allocations: 3.938 kB / 0.9455 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.00259/2.125, allocations: 0.8807 MB / 0.9464 GB, free: 87.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/2.125, allocations: 136.5 kB / 0.9465 GB, free: 87.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/2.126, allocations: 0.5157 MB / 0.947 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/2.126, allocations: 29.64 kB / 0.9471 GB, free: 87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/2.126, allocations: 369.5 kB / 0.9474 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/2.126, allocations: 90.84 kB / 0.9475 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/2.126, allocations: 0 / 0.9475 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001113/2.126, allocations: 378.7 kB / 0.9479 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/2.126, allocations: 153.5 kB / 0.948 GB, free: 86.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/2.127, allocations: 0.5005 MB / 0.9485 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/2.127, allocations: 277 kB / 0.9488 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/2.127, allocations: 7.938 kB / 0.9488 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001342/2.128, allocations: 0.6916 MB / 0.9494 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/2.129, allocations: 4 kB / 0.9495 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/2.129, allocations: 12 kB / 0.9495 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/2.129, allocations: 80.83 kB / 0.9495 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/2.13, allocations: 175.7 kB / 0.9497 GB, free: 84.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005926/2.13, allocations: 0.6929 MB / 0.9504 GB, free: 83.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/2.131, allocations: 35.95 kB / 0.9504 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/2.131, allocations: 40.05 kB / 0.9505 GB, free: 83.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (83): * Single equations (assignments): 82 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001836/2.131, allocations: 141.9 kB / 0.9506 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/2.131, allocations: 59.25 kB / 0.9506 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/2.132, allocations: 315.6 kB / 0.9509 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/2.132, allocations: 11.84 kB / 0.951 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.132, allocations: 0 / 0.951 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/2.132, allocations: 0 / 0.951 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/2.134, allocations: 0.8771 MB / 0.9518 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/2.134, allocations: 4 kB / 0.9518 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/2.134, allocations: 43.92 kB / 0.9519 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.826e-05/2.134, allocations: 32.72 kB / 0.9519 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/2.134, allocations: 3.984 kB / 0.9519 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000264/2.134, allocations: 0.568 MB / 0.9525 GB, free: 81.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.134, allocations: 4.062 kB / 0.9525 GB, free: 81.15 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006457/2.135, allocations: 0.5488 MB / 0.953 GB, free: 80.54 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000826/2.136, allocations: 1.055 MB / 0.954 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/2.136, allocations: 180.3 kB / 0.9542 GB, free: 79.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/2.136, allocations: 0 / 0.9542 GB, free: 79.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/2.136, allocations: 23.95 kB / 0.9542 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/2.137, allocations: 11.97 kB / 0.9542 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/2.137, allocations: 19.98 kB / 0.9542 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003918/2.137, allocations: 379.2 kB / 0.9546 GB, free: 78.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001609/2.139, allocations: 231.9 kB / 0.9548 GB, free: 78.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (24): * Single equations (assignments): 23 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007569/2.139, allocations: 334.2 kB / 0.9551 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000837/2.14, allocations: 394.6 kB / 0.9555 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/2.14, allocations: 8.062 kB / 0.9555 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/2.14, allocations: 103.9 kB / 0.9556 GB, free: 77.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/2.142, allocations: 219.4 kB / 0.9558 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/2.144, allocations: 0.7725 MB / 0.9566 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/2.144, allocations: 0.998 MB / 0.9576 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/2.144, allocations: 0 / 0.9576 GB, free: 75.74 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)