Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") [: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.004993/0.004994, allocations: 178.7 kB / 7.448 MB, free: 2.25 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.435/1.435, 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.001689/0.00169, allocations: 107.9 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.1877/0.1877, allocations: 37.97 MB / 294.8 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.793e-05, allocations: 1.094 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 48.7 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.5005, allocations: 74.93 MB / 473.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5008, allocations: 63.16 kB / 473.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01059/0.5114, allocations: 3.424 MB / 476.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.5114, allocations: 0 / 476.6 MB, free: 13.56 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005925/0.5121, allocations: 461.2 kB / 477.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5121, allocations: 9.562 kB / 477.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.5122, allocations: 17.44 kB / 477.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.5127, allocations: 257.9 kB / 477.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.5128, allocations: 86.3 kB / 477.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.5128, allocations: 7.125 kB / 477.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/0.513, allocations: 64.62 kB / 477.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.5132, allocations: 125.1 kB / 477.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5132, allocations: 4 kB / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.5132, allocations: 0 / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5132, allocations: 7.859 kB / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.5142, allocations: 468.2 kB / 478.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.5143, allocations: 62.89 kB / 478.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.649e-05/0.5144, allocations: 36.33 kB / 478.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5144, allocations: 3.672 kB / 478.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.5144, allocations: 34.12 kB / 478.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.5144, allocations: 3.938 kB / 478.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002355/0.5147, allocations: 85.55 kB / 478.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5147, allocations: 106.7 kB / 478.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5148, allocations: 131 kB / 478.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5149, allocations: 29.7 kB / 478.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.5149, allocations: 109 kB / 478.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.5149, allocations: 13.52 kB / 478.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.5149, allocations: 0 / 478.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.515, allocations: 324.8 kB / 479 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.5151, allocations: 28.72 kB / 479 MB, free: 11.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.5151, allocations: 46.94 kB / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/0.5152, allocations: 36.64 kB / 479.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5152, allocations: 0 / 479.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001476/0.5154, allocations: 97.5 kB / 479.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5154, allocations: 3.906 kB / 479.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5154, allocations: 0 / 479.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5154, allocations: 0 / 479.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.5156, allocations: 53.62 kB / 479.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5156, allocations: 0 / 479.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5157, allocations: 22.06 kB / 479.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.5158, allocations: 6.297 kB / 479.3 MB, free: 11.64 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 (9): * Single equations (assignments): 9 * 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 7.021e-05/0.5158, allocations: 104.9 kB / 479.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.5159, allocations: 11.69 kB / 479.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.5159, allocations: 14.92 kB / 479.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5159, allocations: 0 / 479.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5159, allocations: 3.906 kB / 479.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.516, allocations: 0 / 479.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.5161, allocations: 193.1 kB / 479.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5161, allocations: 0 / 479.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.5164, allocations: 62.47 kB / 479.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5164, allocations: 3.906 kB / 479.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.5164, allocations: 0 / 479.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5164, allocations: 3.938 kB / 479.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5164, allocations: 0 / 479.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/0.5167, allocations: 212.3 kB / 479.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.5168, allocations: 109.9 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.5168, allocations: 0 / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.5171, allocations: 51.3 kB / 480.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.5172, allocations: 7.781 kB / 480.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.5172, allocations: 6.219 kB / 480.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.808e-05/0.5173, allocations: 112.4 kB / 480.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.5175, allocations: 27.19 kB / 480.2 MB, free: 11.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001103/0.5176, allocations: 90.88 kB / 480.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.5178, allocations: 54.77 kB / 480.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5178, allocations: 7.844 kB / 480.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.756e-05/0.5178, allocations: 25.3 kB / 480.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5181, allocations: 9.812 kB / 480.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.5185, allocations: 146.6 kB / 480.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.5187, allocations: 0.7226 MB / 481.3 MB, free: 26.12 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5187, allocations: 0 / 481.3 MB, free: 26.12 MB / 346.7 MB Notification: Performance of Templates: time 0.003714/0.5225, allocations: 1.484 MB / 482.7 MB, free: 26.01 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)