Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [: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.007737/0.007737, allocations: 179 kB / 7.453 MB, free: 2.516 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.758/1.758, 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.001833/0.001833, allocations: 111.8 kB / 217.7 MB, free: 8.156 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.2197/0.2197, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.038e-05, allocations: 0 / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5818, allocations: 71.95 MB / 470.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.5822, allocations: 64.22 kB / 470.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00165/0.5839, allocations: 262.2 kB / 470.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.5839, allocations: 0 / 470.5 MB, free: 13.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003218/0.5842, allocations: 327.6 kB / 470.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.5843, allocations: 7.75 kB / 470.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.5844, allocations: 3.688 kB / 470.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.5845, allocations: 163.8 kB / 471 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.5846, allocations: 0.875 kB / 471 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.5846, allocations: 7.688 kB / 471 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.706e-05/0.5847, allocations: 6.688 kB / 471 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.5848, allocations: 58.47 kB / 471 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5848, allocations: 0.875 kB / 471 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5848, allocations: 0 / 471 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5849, allocations: 0 / 471 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.5853, allocations: 308.2 kB / 471.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.5854, allocations: 20.2 kB / 471.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.5854, allocations: 14.61 kB / 471.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.5855, allocations: 3.938 kB / 471.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5855, allocations: 35.75 kB / 471.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5855, allocations: 0 / 471.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003128/0.5858, allocations: 47.95 kB / 471.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.5859, allocations: 59.31 kB / 471.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.586, allocations: 90.36 kB / 471.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.586, allocations: 25.7 kB / 471.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.5861, allocations: 85.58 kB / 471.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5861, allocations: 9.25 kB / 471.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.5861, allocations: 0 / 471.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5863, allocations: 312.5 kB / 472 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.5863, allocations: 5.125 kB / 472 MB, free: 12.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.5864, allocations: 28.62 kB / 472.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.5864, allocations: 7.125 kB / 472.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5864, allocations: 0 / 472.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001196/0.5866, allocations: 59.22 kB / 472.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5866, allocations: 11.69 kB / 472.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5866, allocations: 0 / 472.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.5866, allocations: 0 / 472.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.5867, allocations: 7.75 kB / 472.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5868, allocations: 4.031 kB / 472.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.5868, allocations: 3.938 kB / 472.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.5868, allocations: 5.562 kB / 472.2 MB, free: 12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.951e-05/0.5869, allocations: 104.9 kB / 472.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.5869, allocations: 4.844 kB / 472.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.5871, allocations: 59.09 kB / 472.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5871, allocations: 3.844 kB / 472.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5872, allocations: 0 / 472.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5872, allocations: 0 / 472.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5873, allocations: 145.3 kB / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5874, allocations: 0 / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.5874, allocations: 11.28 kB / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5874, allocations: 0 / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5874, allocations: 0 / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5874, allocations: 0.625 kB / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5874, allocations: 0 / 472.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001699/0.5876, allocations: 155.3 kB / 472.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.5877, allocations: 81.11 kB / 472.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.5877, allocations: 0 / 472.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.5878, allocations: 0 / 472.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.5878, allocations: 12.94 kB / 472.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.5878, allocations: 0 / 472.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.099e-05/0.5879, allocations: 84.41 kB / 472.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.5881, allocations: 3.875 kB / 472.8 MB, free: 11.37 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 (5): * Single equations (assignments): 5 * 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.0001997/0.5883, allocations: 94.72 kB / 472.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5884, allocations: 27.97 kB / 472.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5884, allocations: 0 / 472.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.5885, allocations: 12.19 kB / 473 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.5887, allocations: 3.797 kB / 473 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.5891, allocations: 72.25 kB / 473 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.5895, allocations: 0.6887 MB / 473.7 MB, free: 26.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5896, allocations: 0 / 473.7 MB, free: 26.5 MB / 346.7 MB Notification: Performance of Templates: time 0.003004/0.5926, allocations: 454.2 kB / 474.2 MB, free: 26.45 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)