Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [: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.005543/0.005543, allocations: 174.8 kB / 7.447 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.556/1.556, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001872/0.001872, allocations: 115.8 kB / 217.7 MB, free: 8.141 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.1885/0.1885, allocations: 37.98 MB / 294.8 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.925e-06, allocations: 1.188 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.6507, allocations: 73.3 MB / 471.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.651, allocations: 63.33 kB / 471.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03514/0.6862, allocations: 7.889 MB / 479.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.6863, allocations: 3.875 kB / 479.5 MB, free: 12.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000486/0.6868, allocations: 346.5 kB / 479.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.6868, allocations: 7.75 kB / 479.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.6869, allocations: 0 / 479.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.687, allocations: 159.1 kB / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.687, allocations: 0 / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.6871, allocations: 3.875 kB / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.373e-05/0.6872, allocations: 11.62 kB / 480 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.6873, allocations: 36.39 kB / 480 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6873, allocations: 0 / 480 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.6873, allocations: 0 / 480 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.6874, allocations: 7.922 kB / 480 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.6878, allocations: 224.4 kB / 480.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.6879, allocations: 25.7 kB / 480.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.688, allocations: 9.609 kB / 480.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.688, allocations: 0 / 480.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.688, allocations: 34.5 kB / 480.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.6881, allocations: 0 / 480.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002549/0.6883, allocations: 29.64 kB / 480.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6884, allocations: 53.98 kB / 480.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.6885, allocations: 92.06 kB / 480.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6885, allocations: 29.73 kB / 480.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.6885, allocations: 87.98 kB / 480.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.6886, allocations: 7.812 kB / 480.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.6886, allocations: 0 / 480.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.6887, allocations: 320.8 kB / 480.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.6887, allocations: 0 / 480.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.6887, allocations: 18.55 kB / 480.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.6888, allocations: 7.875 kB / 480.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6888, allocations: 0 / 480.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000114/0.6889, allocations: 51.12 kB / 481 MB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.689, allocations: 6.172 kB / 481 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.689, allocations: 0 / 481 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.689, allocations: 3.75 kB / 481 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.6891, allocations: 0 / 481 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.6891, allocations: 3.75 kB / 481 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.6892, allocations: 8 kB / 481 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.6892, allocations: 3.844 kB / 481 MB, free: 11.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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 7.112e-05/0.6893, allocations: 102.9 kB / 481.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.6893, allocations: 0 / 481.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.6895, allocations: 50.59 kB / 481.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6895, allocations: 7.906 kB / 481.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6895, allocations: 4 kB / 481.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6896, allocations: 0 / 481.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.6897, allocations: 124.9 kB / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6897, allocations: 3.844 kB / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-06/0.6897, allocations: 0 / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6897, allocations: 3.938 kB / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.6898, allocations: 0 / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6898, allocations: 0 / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6898, allocations: 0 / 481.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001412/0.6899, allocations: 137.6 kB / 481.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.69, allocations: 80.98 kB / 481.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.69, allocations: 2.438 kB / 481.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.6901, allocations: 0 / 481.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.6901, allocations: 3.906 kB / 481.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6901, allocations: 3.875 kB / 481.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.456e-05/0.6902, allocations: 79.22 kB / 481.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005033/0.6907, allocations: 53.44 kB / 481.7 MB, free: 10.72 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.000458/0.6911, allocations: 148.5 kB / 481.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.6913, allocations: 33.45 kB / 481.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6913, allocations: 0 / 481.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.6913, allocations: 29.58 kB / 481.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.6915, allocations: 3.938 kB / 481.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.6918, allocations: 58.5 kB / 481.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.692, allocations: 0.6868 MB / 482.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.692, allocations: 0 / 482.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of Templates: time 0.005248/0.6973, allocations: 0.9676 MB / 483.6 MB, free: 9.688 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)