Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [: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.002173/0.002173, allocations: 172.4 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6091/0.6091, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007926/0.0007927, allocations: 98.73 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/6.042e-06, allocations: 2.5 kB / 0.5528 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 82.31 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7525/0.8672, allocations: 353.7 MB / 0.9786 GB, free: 266.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.8675, allocations: 66.72 kB / 0.9786 GB, free: 266.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.04546/0.9129, allocations: 19.84 MB / 0.998 GB, free: 260.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.913, allocations: 2.719 kB / 0.998 GB, free: 260.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000567/0.9135, allocations: 478.3 kB / 0.9985 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.9136, allocations: 12.91 kB / 0.9985 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.9138, allocations: 20.25 kB / 0.9985 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.914, allocations: 217.8 kB / 0.9987 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.914, allocations: 5.656 kB / 0.9987 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.914, allocations: 8.531 kB / 0.9987 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004515/0.9145, allocations: 410.1 kB / 0.9991 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.9147, allocations: 222.8 kB / 0.9993 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.9147, allocations: 4.875 kB / 0.9993 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.9148, allocations: 1.406 kB / 0.9993 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.9148, allocations: 5.688 kB / 0.9993 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.9157, allocations: 0.9493 MB / 1 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.9159, allocations: 135.9 kB / 1 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.916, allocations: 55.73 kB / 1 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.9171, allocations: 1.919 MB / 1.002 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.9171, allocations: 36.34 kB / 1.002 GB, free: 256 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.9171, allocations: 0.75 kB / 1.002 GB, free: 256 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004862/0.9176, allocations: 139.8 kB / 1.002 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.445e-05/0.9177, allocations: 53.34 kB / 1.003 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.9178, allocations: 131.7 kB / 1.003 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.9178, allocations: 30.48 kB / 1.003 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.9178, allocations: 146.6 kB / 1.003 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.9179, allocations: 54.94 kB / 1.003 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.9179, allocations: 4 kB / 1.003 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.9179, allocations: 321.5 kB / 1.003 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.918, allocations: 27.72 kB / 1.003 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.9181, allocations: 129.9 kB / 1.003 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.9184, allocations: 83.7 kB / 1.003 GB, free: 255 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9184, allocations: 1.594 kB / 1.003 GB, free: 255 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004918/0.9189, allocations: 209.9 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.9189, allocations: 5.312 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9189, allocations: 3.438 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.919, allocations: 6.094 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.9192, allocations: 56.25 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.9192, allocations: 9.375 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.9193, allocations: 23.44 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.9193, allocations: 18.89 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.9194, allocations: 112.3 kB / 1.004 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.9194, allocations: 15.47 kB / 1.004 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.92, allocations: 183.1 kB / 1.004 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.92, allocations: 0 / 1.004 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.92, allocations: 0 / 1.004 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.92, allocations: 7.891 kB / 1.004 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.9202, allocations: 182.1 kB / 1.004 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9202, allocations: 4 kB / 1.004 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.9203, allocations: 31.92 kB / 1.004 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9203, allocations: 15.89 kB / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.9203, allocations: 0 / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.9203, allocations: 0 / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9203, allocations: 0 / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003773/0.9207, allocations: 242.3 kB / 1.005 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.9208, allocations: 116.9 kB / 1.005 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.9208, allocations: 3.906 kB / 1.005 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.921, allocations: 19.98 kB / 1.005 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.921, allocations: 11.92 kB / 1.005 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.9211, allocations: 15.98 kB / 1.005 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.32e-05/0.9211, allocations: 105.9 kB / 1.005 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003734/0.9215, allocations: 75.94 kB / 1.005 GB, free: 253.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.9217, allocations: 187.1 kB / 1.005 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.9219, allocations: 103.8 kB / 1.005 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.922, allocations: 4 kB / 1.005 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.922, allocations: 35.94 kB / 1.005 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.9223, allocations: 41.3 kB / 1.005 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.9227, allocations: 164.4 kB / 1.005 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.9229, allocations: 0.7434 MB / 1.006 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.9229, allocations: 0 / 1.006 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.00553/0.9284, allocations: 3.315 MB / 1.009 GB, free: 249.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)