Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") [: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 4.0.0+maint.om/package.mo): time 0.002964/0.002964, allocations: 181.9 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05693/0.05693, allocations: 8.7 MB / 16.57 MB, free: 436 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.4 MB / 240.5 MB, free: 8.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008947, allocations: 105 kB / 293.5 MB, free: 5.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/6.012e-06, allocations: 0 / 352.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 52.53 MB / 404.6 MB, free: 26.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.3427, allocations: 75.66 MB / 480.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.343, allocations: 60.91 kB / 480.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.001717/0.3447, allocations: 309.6 kB / 480.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3448, allocations: 4 kB / 480.6 MB, free: 14.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000303/0.3451, allocations: 315.2 kB / 480.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3452, allocations: 8.031 kB / 481 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3452, allocations: 8.875 kB / 481 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3454, allocations: 159.1 kB / 481.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3455, allocations: 0 / 481.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3455, allocations: 5.562 kB / 481.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.853e-05/0.3455, allocations: 3.938 kB / 481.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.3456, allocations: 48.25 kB / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3456, allocations: 3.906 kB / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3457, allocations: 1.156 kB / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3457, allocations: 0 / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.346, allocations: 144 kB / 481.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.3461, allocations: 41.69 kB / 481.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.3461, allocations: 10.5 kB / 481.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3462, allocations: 0 / 481.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3462, allocations: 40.16 kB / 481.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3462, allocations: 0 / 481.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001571/0.3464, allocations: 42.66 kB / 481.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3464, allocations: 82.48 kB / 481.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.3465, allocations: 93 kB / 481.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3465, allocations: 25.7 kB / 481.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.3466, allocations: 80.64 kB / 481.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.3466, allocations: 8.641 kB / 481.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.3466, allocations: 0 / 481.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3468, allocations: 320.8 kB / 482 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.3468, allocations: 0 / 482 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.3468, allocations: 31.44 kB / 482.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.3469, allocations: 13.89 kB / 482.1 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3469, allocations: 0 / 482.1 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.4e-05/0.347, allocations: 58.83 kB / 482.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.347, allocations: 4.938 kB / 482.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.347, allocations: 3.984 kB / 482.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.347, allocations: 0 / 482.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.3471, allocations: 12.58 kB / 482.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3471, allocations: 5.688 kB / 482.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.3471, allocations: 4 kB / 482.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3472, allocations: 0 / 482.2 MB, free: 12.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.56e-05/0.3472, allocations: 112.8 kB / 482.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.3473, allocations: 2.719 kB / 482.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.3473, allocations: 3.438 kB / 482.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3473, allocations: 0 / 482.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3473, allocations: 4 kB / 482.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3473, allocations: 3.984 kB / 482.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3475, allocations: 146.1 kB / 482.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3475, allocations: 4 kB / 482.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3475, allocations: 12.19 kB / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3476, allocations: 0 / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3476, allocations: 3.938 kB / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3476, allocations: 0 / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3476, allocations: 0 / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001367/0.3477, allocations: 83.64 kB / 482.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.3478, allocations: 89.2 kB / 482.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3478, allocations: 3.906 kB / 482.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.3479, allocations: 0 / 482.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3479, allocations: 4 kB / 482.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3479, allocations: 0 / 482.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.686e-05/0.3479, allocations: 83.27 kB / 482.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.3482, allocations: 8 kB / 482.7 MB, free: 12.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001754/0.3484, allocations: 107.2 kB / 482.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.665e-05/0.3484, allocations: 11.94 kB / 482.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3485, allocations: 0 / 482.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.3485, allocations: 11.98 kB / 482.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.3486, allocations: 7.938 kB / 482.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.3489, allocations: 89.72 kB / 483 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.3492, allocations: 0.6958 MB / 483.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3492, allocations: 0 / 483.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.002231/0.3514, allocations: 373.2 kB / 484 MB, free: 10.93 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)