Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001068/0.001068, allocations: 187.4 kB / 7.802 MB, free: 2.5 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.24/1.24, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009346/0.0009351, allocations: 95.98 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.1929/0.1929, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2001/0.3931, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.6821, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.8003, allocations: 88.15 MB / 0.5516 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.8007, allocations: 67.95 kB / 0.5516 GB, free: 10.69 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02249/0.8232, allocations: 8.714 MB / 0.5601 GB, free: 1.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.8233, allocations: 8 kB / 0.5601 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.8234, allocations: 43.44 kB / 0.5602 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.8239, allocations: 353.1 kB / 0.5605 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.8239, allocations: 4 kB / 0.5605 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.8239, allocations: 7.906 kB / 0.5605 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000159/0.8241, allocations: 71.97 kB / 0.5606 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.8243, allocations: 104.4 kB / 0.5607 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8243, allocations: 3.984 kB / 0.5607 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.8243, allocations: 0 / 0.5607 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8243, allocations: 4 kB / 0.5607 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.8251, allocations: 0.5007 MB / 0.5612 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.8252, allocations: 89.69 kB / 0.5613 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.8253, allocations: 36.84 kB / 0.5613 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.8253, allocations: 224 / 0.5613 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.8254, allocations: 50.34 kB / 0.5614 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.8254, allocations: 0 / 0.5614 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007906/0.8262, allocations: 367.3 kB / 0.5617 GB, free: 204 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.8262, allocations: 51.41 kB / 0.5618 GB, free: 140 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.8268, allocations: 477.1 kB / 0.5622 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.8268, allocations: 29.7 kB / 0.5623 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.8269, allocations: 136.4 kB / 0.5624 GB, free: 15.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.8269, allocations: 59.11 kB / 0.5624 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.827, allocations: 0 / 0.5624 GB, free: 15.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8271, allocations: 350.8 kB / 0.5628 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.8272, allocations: 55.98 kB / 0.5628 GB, free: 15.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.8273, allocations: 51.98 kB / 0.5629 GB, free: 14.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.488e-05/0.8274, allocations: 59.88 kB / 0.5629 GB, free: 14.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.8274, allocations: 4 kB / 0.5629 GB, free: 14.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002902/0.8277, allocations: 216.4 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.8277, allocations: 4 kB / 0.5632 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8277, allocations: 0 / 0.5632 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8278, allocations: 0 / 0.5632 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8279, allocations: 35.98 kB / 0.5632 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.828, allocations: 0 / 0.5632 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.685e-05/0.8281, allocations: 19.92 kB / 0.5632 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.8281, allocations: 8 kB / 0.5632 GB, free: 14.63 MB / 410.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 (17): * Single equations (assignments): 17 * 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.685e-05/0.8282, allocations: 106.3 kB / 0.5633 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.8282, allocations: 39.44 kB / 0.5634 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.8287, allocations: 261.2 kB / 0.5636 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8287, allocations: 0 / 0.5636 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8287, allocations: 0 / 0.5636 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8287, allocations: 3.984 kB / 0.5636 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007984/0.8295, allocations: 0.6741 MB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.8296, allocations: 7.984 kB / 0.5643 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.8297, allocations: 43.91 kB / 0.5643 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8297, allocations: 0 / 0.5643 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.8297, allocations: 4 kB / 0.5643 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8297, allocations: 4 kB / 0.5643 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8297, allocations: 0 / 0.5643 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00032/0.8301, allocations: 310.3 kB / 0.5646 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004281/0.8305, allocations: 0.6829 MB / 0.5653 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.8306, allocations: 140.6 kB / 0.5654 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.8307, allocations: 3.906 kB / 0.5654 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.8308, allocations: 11.98 kB / 0.5654 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.8309, allocations: 11.98 kB / 0.5654 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.8309, allocations: 4 kB / 0.5654 GB, free: 12.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003939/0.8313, allocations: 387.1 kB / 0.5658 GB, free: 11.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008926/0.8322, allocations: 67.94 kB / 0.5659 GB, free: 11.79 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 (17): * Single equations (assignments): 17 * 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.0009678/0.8332, allocations: 0.4934 MB / 0.5664 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.8334, allocations: 139.9 kB / 0.5665 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8334, allocations: 7.938 kB / 0.5665 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.8335, allocations: 83.34 kB / 0.5666 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.8339, allocations: 57.47 kB / 0.5666 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.8349, allocations: 0.547 MB / 0.5672 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.8354, allocations: 0.8604 MB / 0.568 GB, free: 9.602 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8354, allocations: 4 kB / 0.568 GB, free: 9.598 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1)