Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001734/0.001734, allocations: 185.8 kB / 7.801 MB, free: 2.441 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.365/1.365, 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.0009482/0.0009483, allocations: 93.5 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.1831/0.1831, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1867/0.3699, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.6611, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.78, allocations: 86.4 MB / 0.5499 GB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.7803, allocations: 75.95 kB / 0.5499 GB, free: 12.45 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.01889/0.7992, allocations: 8.234 MB / 0.558 GB, free: 4.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.7993, allocations: 8 kB / 0.558 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.7994, allocations: 43.44 kB / 0.558 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.8, allocations: 339.2 kB / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.8, allocations: 0 / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.8001, allocations: 0 / 0.5583 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/0.8002, allocations: 24 kB / 0.5584 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.8003, allocations: 45.59 kB / 0.5584 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.8003, allocations: 0 / 0.5584 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.8004, allocations: 4 kB / 0.5584 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8004, allocations: 0 / 0.5584 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.8012, allocations: 437.2 kB / 0.5588 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.8013, allocations: 46.44 kB / 0.5589 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.8013, allocations: 12.86 kB / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.8014, allocations: 4 kB / 0.5589 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.8014, allocations: 34.56 kB / 0.5589 GB, free: 3.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.8014, allocations: 0 / 0.5589 GB, free: 3.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006474/0.802, allocations: 240 kB / 0.5592 GB, free: 2.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.8021, allocations: 55.41 kB / 0.5592 GB, free: 2.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.8033, allocations: 0.7551 MB / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.8033, allocations: 25.7 kB / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.8034, allocations: 132.1 kB / 0.5601 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.8034, allocations: 23.7 kB / 0.5601 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.8034, allocations: 0 / 0.5601 GB, free: 1.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8035, allocations: 366.7 kB / 0.5605 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.8036, allocations: 16 kB / 0.5605 GB, free: 1.426 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.8036, allocations: 24 kB / 0.5605 GB, free: 1.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.8037, allocations: 23.98 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.8037, allocations: 0 / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001859/0.8039, allocations: 121.1 kB / 0.5606 GB, free: 1.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.8039, allocations: 4 kB / 0.5607 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8039, allocations: 0 / 0.5607 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.804, allocations: 4 kB / 0.5607 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.8041, allocations: 27.92 kB / 0.5607 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8041, allocations: 7.938 kB / 0.5607 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.8043, allocations: 15.92 kB / 0.5607 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8043, allocations: 4 kB / 0.5607 GB, free: 1.191 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 8.903e-05/0.8044, allocations: 105.8 kB / 0.5608 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.8045, allocations: 47.44 kB / 0.5609 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.8047, allocations: 145.7 kB / 0.561 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8048, allocations: 4 kB / 0.561 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8048, allocations: 0 / 0.561 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.8048, allocations: 3.984 kB / 0.561 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.8055, allocations: 0.5731 MB / 0.5616 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.8055, allocations: 3.906 kB / 0.5616 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.8056, allocations: 27.98 kB / 0.5616 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8057, allocations: 0 / 0.5616 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8057, allocations: 3.938 kB / 0.5616 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8057, allocations: 0 / 0.5616 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8057, allocations: 144 / 0.5616 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002455/0.8059, allocations: 227 kB / 0.5618 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003876/0.8063, allocations: 0.5853 MB / 0.5624 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.8065, allocations: 168.5 kB / 0.5625 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.8066, allocations: 0 / 0.5625 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.8068, allocations: 19.89 kB / 0.5626 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.8068, allocations: 7.984 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.8068, allocations: 4 kB / 0.5626 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006366/0.8075, allocations: 0.6121 MB / 0.5632 GB, free: 14.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009177/0.8084, allocations: 56 kB / 0.5632 GB, free: 14.5 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.0007186/0.8091, allocations: 314.4 kB / 0.5635 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.8093, allocations: 51.98 kB / 0.5636 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8093, allocations: 0 / 0.5636 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.8093, allocations: 31.94 kB / 0.5636 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.8096, allocations: 25.81 kB / 0.5636 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.8109, allocations: 0.7242 MB / 0.5643 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.8114, allocations: 0.8606 MB / 0.5652 GB, free: 12.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8114, allocations: 0 / 0.5652 GB, free: 12.48 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1)