Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 192.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 95.97 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.182/0.182, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1855/0.3675, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.6339, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.7506, allocations: 86.08 MB / 0.5495 GB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.7508, allocations: 71.97 kB / 0.5496 GB, free: 12.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01914/0.77, allocations: 8.056 MB / 0.5575 GB, free: 4.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.77, allocations: 8 kB / 0.5575 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.7701, allocations: 43.44 kB / 0.5575 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.7707, allocations: 330.6 kB / 0.5578 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.7707, allocations: 7.938 kB / 0.5579 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.7708, allocations: 0 / 0.5579 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.517e-05/0.7708, allocations: 16 kB / 0.5579 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.7709, allocations: 41.7 kB / 0.5579 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.771, allocations: 0 / 0.5579 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.771, allocations: 0 / 0.5579 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.771, allocations: 3.906 kB / 0.5579 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.7717, allocations: 421.1 kB / 0.5583 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.7718, allocations: 33.7 kB / 0.5583 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.7719, allocations: 8.859 kB / 0.5584 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.7719, allocations: 0 / 0.5584 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.772, allocations: 38.56 kB / 0.5584 GB, free: 3.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.772, allocations: 0 / 0.5584 GB, free: 3.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004952/0.7725, allocations: 184.1 kB / 0.5586 GB, free: 3.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.7725, allocations: 55.41 kB / 0.5586 GB, free: 3.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.7737, allocations: 0.7512 MB / 0.5594 GB, free: 2.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.7737, allocations: 25.7 kB / 0.5594 GB, free: 2.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.7738, allocations: 136 kB / 0.5595 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.7738, allocations: 15.75 kB / 0.5595 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.7738, allocations: 4 kB / 0.5595 GB, free: 2.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.774, allocations: 358.8 kB / 0.5599 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.774, allocations: 8 kB / 0.5599 GB, free: 2.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.774, allocations: 12 kB / 0.5599 GB, free: 2.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.7741, allocations: 12 kB / 0.5599 GB, free: 2.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.7741, allocations: 0 / 0.5599 GB, free: 2.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.7742, allocations: 93.12 kB / 0.56 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7743, allocations: 10.81 kB / 0.56 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7743, allocations: 0 / 0.56 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7743, allocations: 0 / 0.56 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.7744, allocations: 23.86 kB / 0.56 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.7744, allocations: 4 kB / 0.56 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.7745, allocations: 7.906 kB / 0.56 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7745, allocations: 4 kB / 0.56 GB, free: 1.965 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 6.447e-05/0.7746, allocations: 102.4 kB / 0.5601 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.7747, allocations: 43.44 kB / 0.5602 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.7749, allocations: 109.2 kB / 0.5603 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7749, allocations: 8 kB / 0.5603 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7749, allocations: 0 / 0.5603 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.7749, allocations: 3.984 kB / 0.5603 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.7756, allocations: 0.5379 MB / 0.5608 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7756, allocations: 0 / 0.5608 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.7757, allocations: 15.98 kB / 0.5608 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7757, allocations: 3.938 kB / 0.5608 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.7757, allocations: 4.375 kB / 0.5608 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7757, allocations: 0 / 0.5608 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.7757, allocations: 7.984 kB / 0.5608 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001964/0.7759, allocations: 194.9 kB / 0.561 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003396/0.7763, allocations: 0.5619 MB / 0.5616 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.7765, allocations: 164.5 kB / 0.5617 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.7765, allocations: 4 kB / 0.5617 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7767, allocations: 4 kB / 0.5617 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.7767, allocations: 7.984 kB / 0.5618 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.7767, allocations: 4 kB / 0.5618 GB, free: 88 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007127/0.7774, allocations: 0.6082 MB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009043/0.7784, allocations: 59.94 kB / 0.5624 GB, free: 15.42 MB / 410.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.000645/0.779, allocations: 300.1 kB / 0.5627 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.619e-05/0.7791, allocations: 24 kB / 0.5627 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7791, allocations: 0 / 0.5627 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.7792, allocations: 16 kB / 0.5627 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.7794, allocations: 33.75 kB / 0.5628 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.7806, allocations: 0.6957 MB / 0.5634 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.7812, allocations: 0.8566 MB / 0.5643 GB, free: 13.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7812, allocations: 0 / 0.5643 GB, free: 13.47 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1)