Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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/KeyWordIO 0.11.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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.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(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") [: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.003518/0.003518, allocations: 182.9 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004961/0.004961, allocations: 0.9706 MB / 8.839 MB, free: 1.391 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.4 MB / 230.9 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 83.52 kB / 281.9 MB, free: 15.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.528e-06/9.648e-06, allocations: 4 kB / 338.6 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2441, allocations: 50.61 MB / 389.2 MB, free: 37.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09669/0.3408, allocations: 78.63 MB / 467.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3411, allocations: 67.97 kB / 467.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02569/0.3668, allocations: 8.326 MB / 476.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3669, allocations: 3.938 kB / 476.2 MB, free: 14.46 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005898/0.3675, allocations: 469.2 kB / 476.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3675, allocations: 8.031 kB / 476.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.3676, allocations: 79.28 kB / 476.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3678, allocations: 242.3 kB / 477 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/0.3678, allocations: 150.6 kB / 477.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.3679, allocations: 154.6 kB / 477.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.373e-05/0.368, allocations: 158.5 kB / 477.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.553e-05/0.368, allocations: 105 kB / 477.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.3681, allocations: 79.22 kB / 477.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.3681, allocations: 150.6 kB / 477.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.3682, allocations: 150.6 kB / 477.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.3684, allocations: 434.5 kB / 478.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.3685, allocations: 169 kB / 478.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.3686, allocations: 84.86 kB / 478.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3686, allocations: 79.28 kB / 478.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.3687, allocations: 109.8 kB / 478.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.3687, allocations: 0 / 478.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.045e-05/0.3687, allocations: 29.64 kB / 478.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.3688, allocations: 51.41 kB / 478.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.3689, allocations: 97 kB / 479 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3689, allocations: 25.7 kB / 479 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.3689, allocations: 80.14 kB / 479.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-06/0.3689, allocations: 4 kB / 479.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.3689, allocations: 0 / 479.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3691, allocations: 322.8 kB / 479.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-06/0.3691, allocations: 0 / 479.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-06/0.3691, allocations: 0 / 479.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.3691, allocations: 79.28 kB / 479.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.3691, allocations: 75.28 kB / 479.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.117e-05/0.3692, allocations: 33.61 kB / 479.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3692, allocations: 7.938 kB / 479.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.3693, allocations: 79.28 kB / 479.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.764e-05/0.3693, allocations: 150.6 kB / 479.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.336e-05/0.3693, allocations: 79.53 kB / 479.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-05/0.3694, allocations: 158.5 kB / 480 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.3695, allocations: 79.28 kB / 480.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3695, allocations: 75.28 kB / 480.2 MB, free: 10.29 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0001042/0.3696, allocations: 263.5 kB / 480.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3697, allocations: 108.9 kB / 480.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.3698, allocations: 104.1 kB / 480.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-05/0.3698, allocations: 185.1 kB / 480.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-05/0.3699, allocations: 184.2 kB / 481 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.37, allocations: 180.3 kB / 481.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3702, allocations: 389.7 kB / 481.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.3702, allocations: 104.9 kB / 481.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.3702, allocations: 101 kB / 481.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.3703, allocations: 180.2 kB / 481.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.3704, allocations: 176.6 kB / 482.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.949e-05/0.3704, allocations: 188.2 kB / 482.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-05/0.3705, allocations: 188.2 kB / 482.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001216/0.3706, allocations: 303.7 kB / 482.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.3707, allocations: 186 kB / 483 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.3708, allocations: 184.3 kB / 483.1 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.3709, allocations: 104.9 kB / 483.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.371, allocations: 180.2 kB / 483.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.371, allocations: 105 kB / 483.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.784e-05/0.3711, allocations: 87.28 kB / 483.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005849/0.3717, allocations: 171.9 kB / 483.8 MB, free: 6.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001229/0.3729, allocations: 0.5987 MB / 484.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.057e-05/0.3729, allocations: 4 kB / 484.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3729, allocations: 0 / 484.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.373, allocations: 0 / 484.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3732, allocations: 0.5262 MB / 484.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.3734, allocations: 123.2 kB / 485 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.3737, allocations: 0.6919 MB / 485.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3737, allocations: 0 / 485.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of Templates: time 0.006184/0.3799, allocations: 3.013 MB / 488.7 MB, free: 1.523 MB / 362.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)