Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [: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.0009524/0.0009526, allocations: 183 kB / 8.526 MB, free: 1.832 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.319/1.319, allocations: 221.4 MB / 230.3 MB, free: 7.676 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.00102/0.00102, allocations: 96.53 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1774/0.1774, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.948e-06, allocations: 224 / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 61.91 MB / 0.4941 GB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/0.428, allocations: 87.58 MB / 0.5796 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4283, allocations: 71.16 kB / 0.5797 GB, free: 9.164 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01608/0.4444, allocations: 5.935 MB / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4444, allocations: 0 / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004236/0.4449, allocations: 398.2 kB / 0.5859 GB, free: 2.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4449, allocations: 13.47 kB / 0.5859 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.445, allocations: 7.906 kB / 0.5859 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4452, allocations: 193.2 kB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4452, allocations: 4 kB / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.4452, allocations: 0 / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.273e-05/0.4453, allocations: 15.94 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4454, allocations: 63.31 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4454, allocations: 0 / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4455, allocations: 4 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4455, allocations: 3.984 kB / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.4458, allocations: 261.4 kB / 0.5864 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.446, allocations: 29.72 kB / 0.5864 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.4461, allocations: 24.88 kB / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.4461, allocations: 0 / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4461, allocations: 30.56 kB / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4461, allocations: 0 / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004422/0.4466, allocations: 97.47 kB / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.4467, allocations: 85.02 kB / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.4468, allocations: 121 kB / 0.5868 GB, free: 1.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.4469, allocations: 29.7 kB / 0.5868 GB, free: 1.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.447, allocations: 84.14 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.447, allocations: 19.69 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.447, allocations: 3.938 kB / 0.5869 GB, free: 1.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4472, allocations: 318.8 kB / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.4472, allocations: 12 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.4473, allocations: 29.7 kB / 0.5872 GB, free: 1.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.4473, allocations: 12 kB / 0.5873 GB, free: 1.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4473, allocations: 0 / 0.5873 GB, free: 1.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001653/0.4475, allocations: 65.59 kB / 0.5873 GB, free: 1.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4475, allocations: 7.938 kB / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4475, allocations: 0 / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4475, allocations: 3.906 kB / 0.5873 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.4476, allocations: 15.98 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4476, allocations: 4.031 kB / 0.5874 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.4477, allocations: 11.98 kB / 0.5874 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4477, allocations: 4 kB / 0.5874 GB, free: 1.164 MB / 394.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 (5): * Single equations (assignments): 5 * 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.545e-05/0.4478, allocations: 104.9 kB / 0.5875 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.4478, allocations: 7.906 kB / 0.5875 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.448, allocations: 77.86 kB / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.448, allocations: 3.984 kB / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.448, allocations: 4 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.448, allocations: 4 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.4483, allocations: 307.3 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4483, allocations: 8.062 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.4484, allocations: 11.98 kB / 0.5879 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4484, allocations: 4 kB / 0.5879 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.4484, allocations: 0 / 0.5879 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4484, allocations: 4 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.4485, allocations: 3.906 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001434/0.4486, allocations: 159.5 kB / 0.588 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.4487, allocations: 85 kB / 0.5881 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4487, allocations: 4 kB / 0.5881 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.4488, allocations: 7.984 kB / 0.5881 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.4488, allocations: 8 kB / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.4488, allocations: 0 / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.669e-05/0.4489, allocations: 109.2 kB / 0.5882 GB, free: 180 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.4492, allocations: 23.94 kB / 0.5883 GB, free: 156 kB / 394.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 (5): * Single equations (assignments): 5 * 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.0007094/0.4499, allocations: 338.1 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.45, allocations: 35.94 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.45, allocations: 0 / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.4501, allocations: 19.94 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.4503, allocations: 15.89 kB / 0.5887 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.4506, allocations: 95.81 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.451, allocations: 0.7153 MB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.451, allocations: 0 / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.003685/0.4547, allocations: 1.35 MB / 0.5908 GB, free: 13.62 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1)