Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.0009885/0.0009885, allocations: 192.1 kB / 7.804 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.314/1.314, 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.001087/0.001087, allocations: 92.81 kB / 261.4 MB, free: 13.55 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.1934/0.1934, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2255/0.4189, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.7329, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.8619, allocations: 86.02 MB / 0.5495 GB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.8622, allocations: 67.97 kB / 0.5495 GB, free: 12.86 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.02001/0.8823, allocations: 8.123 MB / 0.5575 GB, free: 4.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8823, allocations: 8 kB / 0.5575 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.8825, allocations: 43.44 kB / 0.5575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.8831, allocations: 319.3 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.8831, allocations: 0 / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.8831, allocations: 11.94 kB / 0.5578 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.284e-05/0.8832, allocations: 19.98 kB / 0.5579 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.8833, allocations: 49.67 kB / 0.5579 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8833, allocations: 3.906 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8834, allocations: 0 / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8834, allocations: 0 / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.8841, allocations: 409.2 kB / 0.5583 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/0.8842, allocations: 34.52 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.8842, allocations: 20.86 kB / 0.5584 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.8842, allocations: 4.078 kB / 0.5584 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.8843, allocations: 30.56 kB / 0.5584 GB, free: 3.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.8843, allocations: 0 / 0.5584 GB, free: 3.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006336/0.8849, allocations: 212 kB / 0.5586 GB, free: 3.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.885, allocations: 55.34 kB / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.8862, allocations: 0.7551 MB / 0.5594 GB, free: 2.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.8862, allocations: 25.7 kB / 0.5594 GB, free: 2.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.8863, allocations: 140 kB / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.8863, allocations: 19.72 kB / 0.5596 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.8864, allocations: 0 / 0.5596 GB, free: 2.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8865, allocations: 362.8 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.8865, allocations: 20.06 kB / 0.5599 GB, free: 2.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.8866, allocations: 8 kB / 0.5599 GB, free: 2.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.8866, allocations: 12 kB / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.8866, allocations: 0 / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001722/0.8868, allocations: 109.4 kB / 0.56 GB, free: 1.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8868, allocations: 10.75 kB / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8868, allocations: 0 / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8869, allocations: 7.906 kB / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.887, allocations: 27.97 kB / 0.5601 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.887, allocations: 8 kB / 0.5601 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.8871, allocations: 19.94 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.8872, allocations: 0 / 0.5601 GB, free: 1.812 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 (7): * Single equations (assignments): 7 * 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.094e-05/0.8872, allocations: 106.4 kB / 0.5602 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.8873, allocations: 43.44 kB / 0.5603 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.8876, allocations: 121.5 kB / 0.5604 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8876, allocations: 4 kB / 0.5604 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8876, allocations: 0 / 0.5604 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.8876, allocations: 0 / 0.5604 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.8884, allocations: 0.5651 MB / 0.5609 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8884, allocations: 0 / 0.5609 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.8885, allocations: 23.98 kB / 0.561 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8885, allocations: 0 / 0.561 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.8885, allocations: 3.984 kB / 0.561 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8885, allocations: 4 kB / 0.561 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8885, allocations: 3.906 kB / 0.561 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002216/0.8888, allocations: 202.9 kB / 0.5612 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003727/0.8891, allocations: 0.5777 MB / 0.5617 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.8894, allocations: 164.5 kB / 0.5619 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.8894, allocations: 4 kB / 0.5619 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.8896, allocations: 15.98 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.8896, allocations: 3.984 kB / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8896, allocations: 4 kB / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007396/0.8904, allocations: 0.6082 MB / 0.5625 GB, free: 15.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009629/0.8914, allocations: 60 kB / 0.5626 GB, free: 15.2 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 (7): * Single equations (assignments): 7 * 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.0007333/0.8921, allocations: 309.1 kB / 0.5629 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.8923, allocations: 39.98 kB / 0.5629 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8923, allocations: 0 / 0.5629 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.8923, allocations: 24 kB / 0.5629 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.8926, allocations: 25.09 kB / 0.5629 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.894, allocations: 0.7164 MB / 0.5636 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.8946, allocations: 0.8567 MB / 0.5645 GB, free: 13.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8946, allocations: 0 / 0.5645 GB, free: 13.22 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1)