Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001131/0.001134, allocations: 192.5 kB / 7.807 MB, free: 1.18 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.2 MB / 213.4 MB, free: 8.664 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009085/0.0009086, allocations: 97.48 kB / 261.4 MB, free: 5.031 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2008/0.2008, allocations: 43.49 MB / 352.8 MB, free: 11.37 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/0.4005, allocations: 64.96 MB / 417.8 MB, free: 68.1 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.4921, allocations: 58.86 MB / 476.7 MB, free: 9.188 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2753/0.7675, allocations: 87.59 MB / 0.551 GB, free: 8.484 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.7677, allocations: 76.08 kB / 0.5511 GB, free: 8.445 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02289/0.7906, allocations: 8.815 MB / 0.5597 GB, free: 0.9297 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7907, allocations: 12 kB / 0.5597 GB, free: 0.918 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.7909, allocations: 51.34 kB / 0.5598 GB, free: 0.8672 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.7921, allocations: 480.8 kB / 0.5602 GB, free: 396 kB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7921, allocations: 4 kB / 0.5602 GB, free: 392 kB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.7921, allocations: 4 kB / 0.5602 GB, free: 388 kB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002566/0.7924, allocations: 76.28 kB / 0.5603 GB, free: 336 kB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.7927, allocations: 125.1 kB / 0.5604 GB, free: 220 kB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7928, allocations: 0 / 0.5604 GB, free: 220 kB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.7928, allocations: 7.906 kB / 0.5604 GB, free: 212 kB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.7928, allocations: 4 kB / 0.5604 GB, free: 208 kB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.7944, allocations: 0.6925 MB / 0.5611 GB, free: 15.56 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.7946, allocations: 80.72 kB / 0.5612 GB, free: 15.48 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.7948, allocations: 45.08 kB / 0.5612 GB, free: 15.44 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.7948, allocations: 7.984 kB / 0.5612 GB, free: 15.43 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7949, allocations: 37.69 kB / 0.5613 GB, free: 15.39 MB / 386.8 MB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/0.7949, allocations: 0 / 0.5613 GB, free: 15.39 MB / 386.8 MB Notification: Performance of matching and sorting (n=16): time 0.001873/0.7968, allocations: 462.9 kB / 0.5617 GB, free: 14.98 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.7969, allocations: 81.11 kB / 0.5618 GB, free: 14.88 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.7984, allocations: 0.7395 MB / 0.5625 GB, free: 14.28 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.7984, allocations: 25.7 kB / 0.5625 GB, free: 14.25 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.7985, allocations: 159.9 kB / 0.5627 GB, free: 14.11 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.7986, allocations: 51.77 kB / 0.5628 GB, free: 14.06 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.7986, allocations: 0 / 0.5628 GB, free: 14.06 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7988, allocations: 371.3 kB / 0.5631 GB, free: 13.71 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.799, allocations: 45.42 kB / 0.5631 GB, free: 13.68 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.7991, allocations: 66 kB / 0.5632 GB, free: 13.64 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.7993, allocations: 61.23 kB / 0.5633 GB, free: 13.59 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7993, allocations: 3.938 kB / 0.5633 GB, free: 13.59 MB / 386.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005256/0.7998, allocations: 189.2 kB / 0.5635 GB, free: 13.43 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7999, allocations: 8 kB / 0.5635 GB, free: 13.42 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7999, allocations: 3.984 kB / 0.5635 GB, free: 13.42 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.7999, allocations: 0 / 0.5635 GB, free: 13.42 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.8004, allocations: 47.91 kB / 0.5635 GB, free: 13.37 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.8004, allocations: 4 kB / 0.5635 GB, free: 13.37 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.8007, allocations: 19.89 kB / 0.5635 GB, free: 13.35 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.8007, allocations: 8 kB / 0.5635 GB, free: 13.34 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001018/0.8009, allocations: 101 kB / 0.5636 GB, free: 13.23 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.8011, allocations: 51.34 kB / 0.5637 GB, free: 13.18 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006907/0.8018, allocations: 253.1 kB / 0.5639 GB, free: 12.98 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8018, allocations: 8 kB / 0.5639 GB, free: 12.97 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8018, allocations: 0 / 0.5639 GB, free: 12.97 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.8018, allocations: 0 / 0.5639 GB, free: 12.97 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.8033, allocations: 0.7949 MB / 0.5647 GB, free: 12.26 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8033, allocations: 4 kB / 0.5647 GB, free: 12.25 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.8035, allocations: 47.91 kB / 0.5648 GB, free: 12.21 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8035, allocations: 3.906 kB / 0.5648 GB, free: 12.2 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.8035, allocations: 15.3 kB / 0.5648 GB, free: 12.19 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8035, allocations: 0 / 0.5648 GB, free: 12.19 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8035, allocations: 0 / 0.5648 GB, free: 12.19 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003695/0.8039, allocations: 382.5 kB / 0.5651 GB, free: 11.83 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004591/0.8044, allocations: 0.7565 MB / 0.5659 GB, free: 11.09 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.8046, allocations: 183.1 kB / 0.5661 GB, free: 10.9 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.8047, allocations: 0 / 0.5661 GB, free: 10.9 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.8049, allocations: 19.98 kB / 0.5661 GB, free: 10.88 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.805, allocations: 11.98 kB / 0.5661 GB, free: 10.87 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.805, allocations: 7.938 kB / 0.5661 GB, free: 10.86 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0006283/0.8057, allocations: 0.5854 MB / 0.5667 GB, free: 10.41 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0009591/0.8066, allocations: 67.94 kB / 0.5667 GB, free: 10.35 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000642/0.8073, allocations: 322.4 kB / 0.567 GB, free: 10.09 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.8075, allocations: 109.5 kB / 0.5671 GB, free: 10.01 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8075, allocations: 4 kB / 0.5671 GB, free: 10.01 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.8077, allocations: 64.67 kB / 0.5672 GB, free: 9.961 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.8081, allocations: 63.89 kB / 0.5673 GB, free: 9.922 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.8096, allocations: 0.7209 MB / 0.568 GB, free: 9.227 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.8102, allocations: 0.9251 MB / 0.5689 GB, free: 8.297 MB / 386.8 MB Notification: Performance of SimCode: time 3e-07/0.8102, allocations: 0 / 0.5689 GB, free: 8.297 MB / 386.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1)