Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") [: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.3+maint.om/package.mo): time 0.001923/0.001923, allocations: 180.6 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007138/0.007138, allocations: 1.922 MB / 9.791 MB, free: 460 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9981/0.9981, allocations: 205.2 MB / 215.9 MB, free: 11.05 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 83.16 kB / 264.4 MB, free: 10.8 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.3e-06, allocations: 0 / 318.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 48.06 MB / 366.6 MB, free: 45.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07159/0.2378, allocations: 76.29 MB / 442.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.2381, allocations: 67.97 kB / 443 MB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008058/0.2461, allocations: 2.946 MB / 445.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2462, allocations: 7.938 kB / 445.9 MB, free: 3.766 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005395/0.2467, allocations: 458.2 kB / 446.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2468, allocations: 8.031 kB / 446.4 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.2468, allocations: 19.81 kB / 446.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.2471, allocations: 218.6 kB / 446.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2471, allocations: 8.938 kB / 446.6 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.2472, allocations: 12 kB / 446.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000207/0.2474, allocations: 84.64 kB / 446.7 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2476, allocations: 119.9 kB / 446.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2476, allocations: 0 / 446.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2476, allocations: 0 / 446.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2476, allocations: 4 kB / 446.8 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.2485, allocations: 0.5127 MB / 447.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.2487, allocations: 77.05 kB / 447.4 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.2487, allocations: 42.55 kB / 447.5 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2488, allocations: 0 / 447.5 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2488, allocations: 38.55 kB / 447.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.2488, allocations: 0 / 447.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.00119/0.25, allocations: 498.6 kB / 448 MB, free: 1.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.25, allocations: 55.41 kB / 448 MB, free: 1.438 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2501, allocations: 138.4 kB / 448.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2502, allocations: 25.7 kB / 448.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.2502, allocations: 124.4 kB / 448.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2503, allocations: 63.11 kB / 448.4 MB, free: 1.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.2503, allocations: 0 / 448.4 MB, free: 1.066 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2504, allocations: 322.8 kB / 448.7 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.2505, allocations: 36 kB / 448.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.2506, allocations: 47.61 kB / 448.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.2507, allocations: 39.98 kB / 448.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.2507, allocations: 11.92 kB / 448.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001978/0.2509, allocations: 139.9 kB / 449 MB, free: 476 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2509, allocations: 4 kB / 449 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2509, allocations: 0.8438 kB / 449 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2509, allocations: 0 / 449 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2512, allocations: 55.84 kB / 449 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2512, allocations: 0 / 449 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.2513, allocations: 19.92 kB / 449 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2513, allocations: 4 kB / 449 MB, free: 392 kB / 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 (20): * Single equations (assignments): 20 * 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 6.35e-05/0.2514, allocations: 101 kB / 449.1 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.2514, allocations: 15.81 kB / 449.2 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.2515, allocations: 21.59 kB / 449.2 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2515, allocations: 2.438 kB / 449.2 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2515, allocations: 0 / 449.2 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.2515, allocations: 3.984 kB / 449.2 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.2521, allocations: 0.5132 MB / 449.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2522, allocations: 0 / 449.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.2524, allocations: 48.22 kB / 449.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2524, allocations: 4 kB / 449.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2524, allocations: 0 / 449.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.2524, allocations: 4 kB / 449.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.2524, allocations: 7.938 kB / 449.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003833/0.2528, allocations: 423.6 kB / 450.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.2529, allocations: 105.1 kB / 450.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.2529, allocations: 4 kB / 450.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2531, allocations: 24.05 kB / 450.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.2531, allocations: 11.98 kB / 450.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2532, allocations: 8 kB / 450.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.665e-05/0.2532, allocations: 112 kB / 450.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.2535, allocations: 40.16 kB / 450.5 MB, free: 14.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001064/0.2536, allocations: 99.83 kB / 450.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.2538, allocations: 95.94 kB / 450.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2538, allocations: 0 / 450.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.2539, allocations: 55.88 kB / 450.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.2542, allocations: 22.7 kB / 450.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.2548, allocations: 326.1 kB / 451.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.2551, allocations: 0.7625 MB / 451.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2552, allocations: 0 / 451.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of Templates: time 0.003517/0.2587, allocations: 1.416 MB / 453.2 MB, free: 11.96 MB / 346.7 MB make -j1 -f MEV_MEV.Test.TestCylinder.makefile (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & ./MEV_MEV.Test.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1)