Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [: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.004859/0.004859, allocations: 183 kB / 7.452 MB, free: 2.508 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.786/1.786, allocations: 170.6 MB / 178.4 MB, free: 15.37 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.001916/0.001916, allocations: 120.3 kB / 217.7 MB, free: 8.137 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.2212/0.2212, allocations: 37.97 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.219e-05/1.221e-05, allocations: 1.156 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 48.7 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5797, allocations: 72.49 MB / 470.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5801, allocations: 63.56 kB / 470.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008181/0.5883, allocations: 2.609 MB / 473.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.5883, allocations: 3.969 kB / 473.4 MB, free: 13.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000327/0.5887, allocations: 359.7 kB / 473.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5887, allocations: 11.25 kB / 473.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.5888, allocations: 7.906 kB / 473.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.5889, allocations: 168.3 kB / 473.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.5889, allocations: 0 / 473.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.5889, allocations: 13.97 kB / 473.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.589, allocations: 20.38 kB / 473.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.5891, allocations: 49 kB / 474 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5892, allocations: 0 / 474 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.5892, allocations: 0 / 474 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5892, allocations: 0 / 474 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.5894, allocations: 150.1 kB / 474.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.5896, allocations: 53.84 kB / 474.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.5896, allocations: 21.33 kB / 474.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.5899, allocations: 117 kB / 474.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.5899, allocations: 30.56 kB / 474.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.5899, allocations: 0 / 474.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.1257/0.7156, allocations: 5.432 MB / 479.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.7158, allocations: 51.41 kB / 479.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.7158, allocations: 95.34 kB / 479.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.7159, allocations: 29.58 kB / 480 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.7159, allocations: 80.14 kB / 480 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.716, allocations: 65.44 kB / 480.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.716, allocations: 0 / 480.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7162, allocations: 316.3 kB / 480.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.7164, allocations: 165.1 kB / 480.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.7166, allocations: 173.2 kB / 480.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.7177, allocations: 272.8 kB / 481 MB, free: 11.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.7177, allocations: 0 / 481 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001473/0.7192, allocations: 0.5183 MB / 481.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7192, allocations: 7.781 kB / 481.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7192, allocations: 3.938 kB / 481.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.7193, allocations: 6.625 kB / 481.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.7198, allocations: 91.48 kB / 481.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7198, allocations: 10.23 kB / 481.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.7202, allocations: 28.58 kB / 481.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.7202, allocations: 22.28 kB / 481.7 MB, free: 11.29 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 (19): * Single equations (assignments): 19 * 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 0.0001382/0.7204, allocations: 111.4 kB / 481.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.7204, allocations: 7.688 kB / 481.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.7223, allocations: 0.6545 MB / 482.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7223, allocations: 3.906 kB / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.7223, allocations: 6.078 kB / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7223, allocations: 0 / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.7255, allocations: 0.9978 MB / 483.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7255, allocations: 256 / 483.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.726, allocations: 94.36 kB / 483.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.726, allocations: 3.875 kB / 483.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.7261, allocations: 26.47 kB / 483.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.7261, allocations: 3.906 kB / 483.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.7261, allocations: 3.781 kB / 483.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001422/0.7275, allocations: 0.5668 MB / 484.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.7276, allocations: 88.56 kB / 484.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.7276, allocations: 0 / 484.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.728, allocations: 29.12 kB / 484.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.728, allocations: 20.03 kB / 484.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.728, allocations: 27.7 kB / 484.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.87e-05/0.7281, allocations: 82.88 kB / 484.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002176/0.7303, allocations: 0.6173 MB / 485 MB, free: 10.15 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.004071/0.7343, allocations: 334.8 kB / 485.3 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.7351, allocations: 325 kB / 485.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7351, allocations: 0 / 485.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.7354, allocations: 140 kB / 485.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.7357, allocations: 9.172 kB / 485.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.7377, allocations: 411.8 kB / 486.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/0.7383, allocations: 0.7684 MB / 487 MB, free: 9.137 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.7384, allocations: 0 / 487 MB, free: 9.137 MB / 330.7 MB Notification: Performance of Templates: time 0.09422/0.8326, allocations: 49.52 MB / 0.5239 GB, free: 15.58 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)