Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") [: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.002353/0.002353, allocations: 180.2 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004825/0.004825, allocations: 0.9713 MB / 8.841 MB, free: 1.398 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.22/1.22, allocations: 221.4 MB / 230.9 MB, free: 2.082 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.0009905/0.0009905, allocations: 89.28 kB / 281.9 MB, free: 292 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.717e-06/8.827e-06, allocations: 0 / 338.6 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 50.61 MB / 389.2 MB, free: 37.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09383/0.3489, allocations: 76.35 MB / 465.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3491, allocations: 63.97 kB / 465.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01824/0.3674, allocations: 6.098 MB / 471.7 MB, free: 3.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3674, allocations: 4.156 kB / 471.7 MB, free: 3.012 MB / 346.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.0004351/0.3679, allocations: 426.3 kB / 472.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3679, allocations: 8.031 kB / 472.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.368, allocations: 95.11 kB / 472.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3682, allocations: 277.3 kB / 472.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/0.3683, allocations: 150.6 kB / 472.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3683, allocations: 154.5 kB / 472.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.626e-05/0.3684, allocations: 150.6 kB / 472.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.299e-05/0.3685, allocations: 109.1 kB / 473.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.3685, allocations: 79.28 kB / 473.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.3686, allocations: 154.5 kB / 473.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.3686, allocations: 158.5 kB / 473.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.3689, allocations: 450.5 kB / 473.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/0.369, allocations: 173.1 kB / 474 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.3691, allocations: 80.14 kB / 474.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3691, allocations: 75.28 kB / 474.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.3691, allocations: 105.8 kB / 474.3 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3692, allocations: 0 / 474.3 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.646e-05/0.3692, allocations: 37.55 kB / 474.3 MB, free: 228 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.3693, allocations: 55.41 kB / 474.4 MB, free: 160 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3695, allocations: 149.3 kB / 474.5 MB, free: 0 / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.3695, allocations: 25.7 kB / 474.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.3696, allocations: 92.06 kB / 474.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.3696, allocations: 0 / 474.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.3696, allocations: 0 / 474.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3697, allocations: 322.8 kB / 475 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-06/0.3697, allocations: 0 / 475 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-06/0.3697, allocations: 0 / 475 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.3697, allocations: 79.28 kB / 475 MB, free: 15.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/0.3698, allocations: 75.28 kB / 475.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.66e-05/0.3699, allocations: 37.59 kB / 475.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3699, allocations: 8 kB / 475.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.3699, allocations: 79.22 kB / 475.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.24e-05/0.37, allocations: 150.6 kB / 475.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.961e-05/0.37, allocations: 75.28 kB / 475.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.265e-05/0.3701, allocations: 162.5 kB / 475.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3702, allocations: 79.28 kB / 475.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3703, allocations: 75.28 kB / 475.8 MB, free: 14.73 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.0001142/0.3704, allocations: 255.5 kB / 476 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.3705, allocations: 116.8 kB / 476.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.3705, allocations: 108.6 kB / 476.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.444e-05/0.3706, allocations: 184.3 kB / 476.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.836e-05/0.3707, allocations: 188.1 kB / 476.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-05/0.3707, allocations: 177.2 kB / 476.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3709, allocations: 397.8 kB / 477.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.371, allocations: 109 kB / 477.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.371, allocations: 105 kB / 477.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/0.3711, allocations: 176.3 kB / 477.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3712, allocations: 184.2 kB / 477.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/0.3713, allocations: 180.6 kB / 477.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-05/0.3714, allocations: 180.2 kB / 478.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001472/0.3715, allocations: 315.6 kB / 478.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3716, allocations: 198 kB / 478.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.3717, allocations: 184.1 kB / 478.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.3718, allocations: 109 kB / 478.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.3719, allocations: 176.3 kB / 479 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.3719, allocations: 108.9 kB / 479.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001051/0.3721, allocations: 126.2 kB / 479.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005404/0.3726, allocations: 107.8 kB / 479.4 MB, free: 10.92 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.0007123/0.3733, allocations: 399.4 kB / 479.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.027e-05/0.3734, allocations: 3.938 kB / 479.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3734, allocations: 0 / 479.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3734, allocations: 0 / 479.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3737, allocations: 0.5263 MB / 480.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.374, allocations: 159.1 kB / 480.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.3743, allocations: 0.7114 MB / 481.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3744, allocations: 0 / 481.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of Templates: time 0.004629/0.379, allocations: 1.974 MB / 483.1 MB, free: 7.152 MB / 362.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)