Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3") [: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.1+maint.om/package.mo): time 0.005264/0.005264, allocations: 176.5 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.228/1.228, allocations: 170.6 MB / 178.4 MB, free: 15.44 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001747/0.001747, allocations: 107.9 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1658/0.1658, allocations: 37.98 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.076e-06/8.116e-06, allocations: 1.219 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.4317, allocations: 73.69 MB / 471.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.432, allocations: 65.16 kB / 472 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007023/0.439, allocations: 2.526 MB / 474.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4391, allocations: 8 kB / 474.5 MB, free: 13.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003634/0.4394, allocations: 402.1 kB / 474.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4395, allocations: 15.5 kB / 474.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.4396, allocations: 7.688 kB / 474.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.4398, allocations: 192.4 kB / 475.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.4398, allocations: 0 / 475.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.4398, allocations: 3.781 kB / 475.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.124e-05/0.4399, allocations: 18.78 kB / 475.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.751e-05/0.44, allocations: 42.03 kB / 475.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.44, allocations: 0 / 475.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.44, allocations: 3.906 kB / 475.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.44, allocations: 0 / 475.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.4403, allocations: 256.7 kB / 475.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4405, allocations: 36.12 kB / 475.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.4405, allocations: 8.703 kB / 475.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.4406, allocations: 8.281 kB / 475.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.4406, allocations: 33.81 kB / 475.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.4406, allocations: 0 / 475.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004036/0.441, allocations: 94.25 kB / 475.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.441, allocations: 55.41 kB / 475.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4412, allocations: 167.8 kB / 475.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.4412, allocations: 29.64 kB / 475.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.4412, allocations: 91.77 kB / 475.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4413, allocations: 14.67 kB / 475.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.4413, allocations: 0 / 475.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.4413, allocations: 322 kB / 476.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.819e-05/0.4414, allocations: 18.06 kB / 476.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.4414, allocations: 11.56 kB / 476.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.4414, allocations: 11.28 kB / 476.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4414, allocations: 0 / 476.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001046/0.4415, allocations: 66.19 kB / 476.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4416, allocations: 7.781 kB / 476.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4416, allocations: 0 / 476.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4416, allocations: 3.938 kB / 476.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.4417, allocations: 19.11 kB / 476.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4417, allocations: 4 kB / 476.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.4417, allocations: 7.531 kB / 476.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4418, allocations: 0 / 476.4 MB, free: 11.88 MB / 330.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 5.208e-05/0.4418, allocations: 108.7 kB / 476.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.4419, allocations: 7.75 kB / 476.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.442, allocations: 71.67 kB / 476.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.442, allocations: 3.906 kB / 476.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.442, allocations: 7.312 kB / 476.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.442, allocations: 0 / 476.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.4423, allocations: 317.1 kB / 476.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4423, allocations: 0 / 476.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.4424, allocations: 17.45 kB / 476.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4424, allocations: 7.062 kB / 476.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4424, allocations: 4 kB / 476.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4424, allocations: 4 kB / 476.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4424, allocations: 0 / 476.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001049/0.4426, allocations: 153.2 kB / 477.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.4426, allocations: 91.25 kB / 477.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4426, allocations: 3.906 kB / 477.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.4427, allocations: 11 kB / 477.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.4428, allocations: 7.188 kB / 477.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4428, allocations: 3.188 kB / 477.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.637e-05/0.4428, allocations: 131.8 kB / 477.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.4431, allocations: 20.72 kB / 477.4 MB, free: 11.11 MB / 330.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.0003575/0.4435, allocations: 184.8 kB / 477.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.4436, allocations: 57.72 kB / 477.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4436, allocations: 0 / 477.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.4436, allocations: 15.62 kB / 477.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4438, allocations: 7.219 kB / 477.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.4441, allocations: 146.6 kB / 477.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.4444, allocations: 0.7145 MB / 478.5 MB, free: 26.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4444, allocations: 0 / 478.5 MB, free: 26.16 MB / 346.7 MB Notification: Performance of Templates: time 0.002971/0.4474, allocations: 0.9549 MB / 479.4 MB, free: 26.05 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1)