Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.00115/0.00115, 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.451/1.451, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009651/0.0009651, allocations: 95.28 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.2101/0.2101, allocations: 43.5 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2586/0.4688, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.8345, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.9686, allocations: 86.01 MB / 0.5495 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.9689, allocations: 75.47 kB / 0.5495 GB, free: 12.92 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.01203/0.981, allocations: 4.355 MB / 0.5538 GB, free: 8.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.981, allocations: 8 kB / 0.5538 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.9811, allocations: 7.906 kB / 0.5538 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.9814, allocations: 204.9 kB / 0.554 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.9814, allocations: 4 kB / 0.554 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.9815, allocations: 0 / 0.554 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.284e-05/0.9816, allocations: 19.11 kB / 0.554 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.9817, allocations: 49.69 kB / 0.5541 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9817, allocations: 0 / 0.5541 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9817, allocations: 3.906 kB / 0.5541 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.9817, allocations: 0 / 0.5541 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.9822, allocations: 281.3 kB / 0.5543 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.201e-05/0.9823, allocations: 34.58 kB / 0.5544 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.9823, allocations: 16.8 kB / 0.5544 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.9823, allocations: 4 kB / 0.5544 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.9824, allocations: 30.56 kB / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.9824, allocations: 0 / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005767/0.983, allocations: 141.6 kB / 0.5546 GB, free: 7.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.983, allocations: 63.3 kB / 0.5546 GB, free: 7.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.9833, allocations: 178.4 kB / 0.5548 GB, free: 7.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.9833, allocations: 25.7 kB / 0.5548 GB, free: 7.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.9833, allocations: 96.12 kB / 0.5549 GB, free: 7.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.9834, allocations: 27.64 kB / 0.5549 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.9834, allocations: 0 / 0.5549 GB, free: 7.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.9836, allocations: 330.8 kB / 0.5553 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.9837, allocations: 12 kB / 0.5553 GB, free: 6.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.9837, allocations: 16 kB / 0.5553 GB, free: 6.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.9838, allocations: 12 kB / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.9838, allocations: 0 / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.9839, allocations: 77.72 kB / 0.5554 GB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.984, allocations: 6.812 kB / 0.5554 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.984, allocations: 0 / 0.5554 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.984, allocations: 0 / 0.5554 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.9842, allocations: 31.98 kB / 0.5554 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.9842, allocations: 0 / 0.5554 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.9843, allocations: 19.92 kB / 0.5554 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.9843, allocations: 4 kB / 0.5554 GB, free: 6.684 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.999e-05/0.9844, allocations: 108.8 kB / 0.5555 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.9844, allocations: 11.91 kB / 0.5555 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.9847, allocations: 98.89 kB / 0.5556 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9847, allocations: 4 kB / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.9847, allocations: 4 kB / 0.5556 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.9847, allocations: 0 / 0.5556 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.9852, allocations: 343.1 kB / 0.556 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9852, allocations: 0 / 0.556 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.9853, allocations: 27.89 kB / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9853, allocations: 0 / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.9853, allocations: 0 / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9853, allocations: 0 / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9853, allocations: 0 / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001976/0.9855, allocations: 183.3 kB / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003548/0.9859, allocations: 0.543 MB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.986, allocations: 93.02 kB / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.986, allocations: 3.984 kB / 0.5568 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.9862, allocations: 16 kB / 0.5568 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.9862, allocations: 11.89 kB / 0.5568 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.9862, allocations: 0 / 0.5568 GB, free: 5.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001973/0.9864, allocations: 152.9 kB / 0.557 GB, free: 5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000886/0.9873, allocations: 31.92 kB / 0.557 GB, free: 4.969 MB / 394.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.0007618/0.9881, allocations: 298.6 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.9883, allocations: 43.92 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9883, allocations: 4 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.9883, allocations: 20 kB / 0.5573 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.9886, allocations: 15.14 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.9891, allocations: 175.5 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.9896, allocations: 0.727 MB / 0.5582 GB, free: 3.684 MB / 394.7 MB Notification: Performance of SimCode: time 2.865e-06/0.9896, allocations: 0 / 0.5582 GB, free: 3.684 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1)