Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [: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.004361/0.004361, allocations: 189.7 kB / 7.457 MB, free: 2.52 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.716/1.716, 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.002034/0.002034, allocations: 123.8 kB / 217.7 MB, free: 8.121 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.234/0.234, allocations: 37.98 MB / 294.8 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.045e-05, allocations: 1.156 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5963, allocations: 72.32 MB / 470.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.5967, allocations: 63.94 kB / 470.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005153/0.6019, allocations: 1.471 MB / 472.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.6019, allocations: 0 / 472.1 MB, free: 13.45 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.0003337/0.6022, allocations: 356 kB / 472.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.6023, allocations: 11.16 kB / 472.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.6024, allocations: 5.344 kB / 472.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6025, allocations: 174.1 kB / 472.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6025, allocations: 0 / 472.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.6026, allocations: 7.594 kB / 472.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000117/0.6027, allocations: 28.31 kB / 472.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6028, allocations: 47.84 kB / 472.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6028, allocations: 3.047 kB / 472.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.6028, allocations: 0.75 kB / 472.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6029, allocations: 0 / 472.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.603, allocations: 151.4 kB / 472.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.6033, allocations: 47.69 kB / 472.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.6033, allocations: 19.39 kB / 472.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.6036, allocations: 117.6 kB / 473 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.6036, allocations: 31.38 kB / 473 MB, free: 12.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.6036, allocations: 7.938 kB / 473.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.03703/0.6407, allocations: 2.163 MB / 475.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6407, allocations: 51.41 kB / 475.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.6408, allocations: 96.97 kB / 475.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.6409, allocations: 25.7 kB / 475.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.6409, allocations: 83.52 kB / 475.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.641, allocations: 56.94 kB / 475.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.641, allocations: 0 / 475.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.6411, allocations: 324.9 kB / 475.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.6413, allocations: 137.7 kB / 476 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.6415, allocations: 141.2 kB / 476.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.642, allocations: 198.9 kB / 476.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.642, allocations: 0 / 476.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008295/0.6428, allocations: 422.2 kB / 476.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6429, allocations: 7.094 kB / 476.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6429, allocations: 3.984 kB / 476.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6429, allocations: 7.125 kB / 476.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.6433, allocations: 80.45 kB / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6433, allocations: 3.219 kB / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.6436, allocations: 28.48 kB / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.6436, allocations: 16.58 kB / 476.9 MB, free: 11.41 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.0001032/0.6437, allocations: 104.2 kB / 477 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.6438, allocations: 14.89 kB / 477 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.645, allocations: 0.5376 MB / 477.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.645, allocations: 7.781 kB / 477.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6451, allocations: 4 kB / 477.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6451, allocations: 192 / 477.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.6471, allocations: 0.8535 MB / 478.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6471, allocations: 3.938 kB / 478.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.6474, allocations: 80.59 kB / 478.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.6474, allocations: 3.875 kB / 478.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.6475, allocations: 16.83 kB / 478.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6475, allocations: 3.906 kB / 478.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6475, allocations: 3.906 kB / 478.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007636/0.6482, allocations: 486.8 kB / 479 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.6483, allocations: 84.89 kB / 479.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.6483, allocations: 7.844 kB / 479.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.6486, allocations: 32.25 kB / 479.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.6486, allocations: 13.03 kB / 479.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.6486, allocations: 18.52 kB / 479.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.982e-05/0.6487, allocations: 82.41 kB / 479.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001021/0.6497, allocations: 343.6 kB / 479.5 MB, free: 10.3 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.001318/0.651, allocations: 265.2 kB / 479.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.6515, allocations: 269.4 kB / 480.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6515, allocations: 0 / 480.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.6517, allocations: 110.4 kB / 480.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.6519, allocations: 7.844 kB / 480.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.6531, allocations: 364.2 kB / 480.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.6535, allocations: 0.7536 MB / 481.3 MB, free: 25.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6535, allocations: 0 / 481.3 MB, free: 25.29 MB / 346.7 MB Notification: Performance of Templates: time 0.02667/0.6802, allocations: 17.13 MB / 498.4 MB, free: 20.99 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)