Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [: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.004112/0.004112, allocations: 180.2 kB / 7.454 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.719/1.719, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001793/0.001793, allocations: 111.9 kB / 217.7 MB, free: 8.223 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.186/0.186, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.574e-06, allocations: 1.062 kB / 349.5 MB, free: 37.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.5061, allocations: 72.06 MB / 470.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.5063, allocations: 62.56 kB / 470.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.002242/0.5086, allocations: 0.5858 MB / 470.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.5086, allocations: 2.375 kB / 470.9 MB, free: 13.4 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002178/0.5088, allocations: 336.7 kB / 471.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.5089, allocations: 11.62 kB / 471.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.5089, allocations: 3.906 kB / 471.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.509, allocations: 167 kB / 471.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5091, allocations: 3.875 kB / 471.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.5091, allocations: 3.875 kB / 471.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001248/0.5092, allocations: 45 kB / 471.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/0.5093, allocations: 56.05 kB / 471.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5093, allocations: 7.938 kB / 471.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5093, allocations: 3.938 kB / 471.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.5093, allocations: 3.625 kB / 471.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.5095, allocations: 142.6 kB / 471.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.5096, allocations: 58.92 kB / 471.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.5097, allocations: 30.5 kB / 471.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.5099, allocations: 250.6 kB / 472 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.51, allocations: 35.66 kB / 472.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.51, allocations: 0 / 472.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003041/0.5103, allocations: 85.97 kB / 472.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5103, allocations: 56.72 kB / 472.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.5104, allocations: 85 kB / 472.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.5104, allocations: 25.7 kB / 472.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.724e-05/0.5104, allocations: 84.27 kB / 472.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.5105, allocations: 31.36 kB / 472.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.5105, allocations: 0 / 472.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.5106, allocations: 321.3 kB / 472.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.5106, allocations: 11.94 kB / 472.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.5106, allocations: 15.97 kB / 472.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.5107, allocations: 29.78 kB / 472.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5107, allocations: 3.938 kB / 472.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.5109, allocations: 82.08 kB / 472.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5109, allocations: 10.97 kB / 472.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5109, allocations: 0 / 472.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.511, allocations: 7.703 kB / 472.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.5111, allocations: 17.47 kB / 472.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5111, allocations: 0 / 472.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.5111, allocations: 0 / 472.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.5111, allocations: 3.781 kB / 472.9 MB, free: 11.58 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.5112, allocations: 101 kB / 473 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.5112, allocations: 7.125 kB / 473 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.5114, allocations: 109.6 kB / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.5115, allocations: 0 / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5115, allocations: 2.438 kB / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5115, allocations: 7.781 kB / 473.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.37e-05/0.5116, allocations: 145 kB / 473.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5116, allocations: 0 / 473.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.5116, allocations: 15.17 kB / 473.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5117, allocations: 3.719 kB / 473.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.5117, allocations: 0 / 473.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5117, allocations: 7.906 kB / 473.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5117, allocations: 0 / 473.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001724/0.5119, allocations: 107.3 kB / 473.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.5119, allocations: 88.22 kB / 473.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.5119, allocations: 4 kB / 473.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.512, allocations: 0 / 473.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.512, allocations: 11.17 kB / 473.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.512, allocations: 0 / 473.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.977e-05/0.512, allocations: 83.16 kB / 473.6 MB, free: 11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.5122, allocations: 19.81 kB / 473.6 MB, free: 11 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.5124, allocations: 110.4 kB / 473.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.5125, allocations: 53.05 kB / 473.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5125, allocations: 0 / 473.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.306e-05/0.5126, allocations: 26 kB / 473.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.5127, allocations: 3.688 kB / 473.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.513, allocations: 99.69 kB / 473.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.5133, allocations: 0.7011 MB / 474.6 MB, free: 26.11 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5133, allocations: 0 / 474.6 MB, free: 26.11 MB / 346.7 MB Notification: Performance of Templates: time 0.002648/0.516, allocations: 0.7537 MB / 475.3 MB, free: 26.04 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)