Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [: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.1+maint.om/package.mo): time 0.003877/0.003877, allocations: 176.9 kB / 7.449 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.371/1.371, allocations: 170.6 MB / 178.4 MB, free: 15.72 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00178/0.00178, allocations: 103.9 kB / 217.7 MB, free: 8.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2017/0.2017, allocations: 37.97 MB / 294.8 MB, free: 9.668 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 0 / 349.5 MB, free: 37.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 48.71 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.658, allocations: 73.29 MB / 471.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.6584, allocations: 69.31 kB / 471.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03709/0.6955, allocations: 7.896 MB / 479.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.6956, allocations: 0 / 479.5 MB, free: 13.21 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006218/0.6962, allocations: 342.8 kB / 479.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.096e-05/0.6964, allocations: 11.72 kB / 479.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.6964, allocations: 0 / 479.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.6966, allocations: 162.2 kB / 480 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.6966, allocations: 3.844 kB / 480 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.6967, allocations: 3.938 kB / 480 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.163e-05/0.6968, allocations: 3.906 kB / 480 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.776e-05/0.6969, allocations: 29.61 kB / 480 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6969, allocations: 0 / 480 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.6969, allocations: 3.938 kB / 480 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.6969, allocations: 7.938 kB / 480 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.6972, allocations: 128.7 kB / 480.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.6973, allocations: 17.45 kB / 480.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.6973, allocations: 8.828 kB / 480.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.6973, allocations: 3.984 kB / 480.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.6974, allocations: 33.7 kB / 480.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.6974, allocations: 0 / 480.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.000279/0.6977, allocations: 41.36 kB / 480.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.6977, allocations: 51.41 kB / 480.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.6978, allocations: 96.78 kB / 480.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6979, allocations: 25.7 kB / 480.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.6979, allocations: 80.14 kB / 480.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.698, allocations: 3.938 kB / 480.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.698, allocations: 0 / 480.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6981, allocations: 317.3 kB / 480.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.6981, allocations: 3.906 kB / 480.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.6982, allocations: 0 / 480.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.6983, allocations: 3.969 kB / 480.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6983, allocations: 3.906 kB / 480.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001456/0.6984, allocations: 39.64 kB / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6985, allocations: 3.906 kB / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.6985, allocations: 0 / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6985, allocations: 0 / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.6986, allocations: 7.969 kB / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6986, allocations: 0 / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.6986, allocations: 0 / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.6986, allocations: 0 / 480.9 MB, free: 11.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.297e-05/0.6987, allocations: 104.9 kB / 481 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.6987, allocations: 6.969 kB / 481 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.699, allocations: 47.66 kB / 481 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.699, allocations: 0 / 481 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.699, allocations: 0 / 481 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.699, allocations: 0 / 481 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.6991, allocations: 137.5 kB / 481.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.6991, allocations: 3.328 kB / 481.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-06/0.6992, allocations: 0 / 481.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6992, allocations: 3.938 kB / 481.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6992, allocations: 7.781 kB / 481.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6992, allocations: 0 / 481.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6992, allocations: 4.031 kB / 481.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001396/0.6994, allocations: 63.31 kB / 481.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.6994, allocations: 81.02 kB / 481.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.6994, allocations: 0 / 481.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.6995, allocations: 3.875 kB / 481.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.6995, allocations: 0 / 481.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.6996, allocations: 8 kB / 481.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.973e-05/0.6996, allocations: 78.28 kB / 481.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005551/0.7002, allocations: 46.72 kB / 481.4 MB, free: 11.12 MB / 330.7 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005929/0.7008, allocations: 147.7 kB / 481.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.7009, allocations: 33.52 kB / 481.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7009, allocations: 0 / 481.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.7009, allocations: 25.7 kB / 481.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.7011, allocations: 8.062 kB / 481.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.7015, allocations: 54.7 kB / 481.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.7019, allocations: 0.687 MB / 482.4 MB, free: 26.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.702, allocations: 0 / 482.4 MB, free: 26.18 MB / 346.7 MB Notification: Performance of Templates: time 0.004108/0.7061, allocations: 0.9875 MB / 483.4 MB, free: 26.09 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)