Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",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 trunk/package.mo): time 0.001155/0.001155, allocations: 204.2 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 91.09 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2392/0.4265, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.5339, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.8635, allocations: 90.23 MB / 0.592 GB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.8637, allocations: 70.5 kB / 0.592 GB, free: 12.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0211/0.8848, allocations: 7.236 MB / 0.5991 GB, free: 6.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8849, allocations: 12 kB / 0.5991 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.885, allocations: 19.72 kB / 0.5991 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.8854, allocations: 237.6 kB / 0.5994 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.8854, allocations: 4 kB / 0.5994 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.8854, allocations: 8 kB / 0.5994 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001554/0.8856, allocations: 47.69 kB / 0.5994 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.8858, allocations: 80.64 kB / 0.5995 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8858, allocations: 0 / 0.5995 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.8858, allocations: 0 / 0.5995 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8858, allocations: 7.906 kB / 0.5995 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009652/0.8868, allocations: 439.9 kB / 0.5999 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.887, allocations: 77.06 kB / 0.6 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.8871, allocations: 31.48 kB / 0.6 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.8871, allocations: 4 kB / 0.6 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.8873, allocations: 89.31 kB / 0.6001 GB, free: 5.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.305e-06/0.8873, allocations: 0 / 0.6001 GB, free: 5.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001978/0.8893, allocations: 0.5319 MB / 0.6006 GB, free: 4.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.8893, allocations: 63.27 kB / 0.6007 GB, free: 4.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.8896, allocations: 218.2 kB / 0.6009 GB, free: 4.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.8896, allocations: 29.7 kB / 0.6009 GB, free: 4.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.8897, allocations: 95.12 kB / 0.601 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.8897, allocations: 38.64 kB / 0.6011 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.8898, allocations: 4 kB / 0.6011 GB, free: 4.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8899, allocations: 333.4 kB / 0.6014 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.89, allocations: 50.56 kB / 0.6014 GB, free: 4.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.8901, allocations: 50.31 kB / 0.6015 GB, free: 4.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.8902, allocations: 41.8 kB / 0.6015 GB, free: 4.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.8903, allocations: 7.938 kB / 0.6015 GB, free: 4.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003397/0.8906, allocations: 156.6 kB / 0.6017 GB, free: 3.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8906, allocations: 8 kB / 0.6017 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.8906, allocations: 3.906 kB / 0.6017 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.8907, allocations: 0 / 0.6017 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.8912, allocations: 103.5 kB / 0.6018 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.8912, allocations: 4 kB / 0.6018 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.8917, allocations: 99.91 kB / 0.6019 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.8917, allocations: 7.875 kB / 0.6019 GB, free: 3.73 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: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 9.483e-05/0.8918, allocations: 118.7 kB / 0.602 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.8919, allocations: 19.72 kB / 0.602 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.8922, allocations: 151.5 kB / 0.6022 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8923, allocations: 4 kB / 0.6022 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8923, allocations: 0 / 0.6022 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8923, allocations: 0 / 0.6022 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.8929, allocations: 468.8 kB / 0.6026 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8929, allocations: 0 / 0.6026 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.8934, allocations: 119.8 kB / 0.6027 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8934, allocations: 3.984 kB / 0.6027 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.8934, allocations: 0 / 0.6027 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8934, allocations: 0 / 0.6027 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8934, allocations: 0 / 0.6027 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003221/0.8938, allocations: 244.5 kB / 0.603 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004535/0.8942, allocations: 0.6149 MB / 0.6036 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.8943, allocations: 96.91 kB / 0.6037 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.8944, allocations: 6.969 kB / 0.6037 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.8949, allocations: 103.9 kB / 0.6038 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.8951, allocations: 50.5 kB / 0.6038 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.8951, allocations: 7.984 kB / 0.6038 GB, free: 1.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001822/0.8953, allocations: 168.4 kB / 0.604 GB, free: 1.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001043/0.8963, allocations: 62.23 kB / 0.6041 GB, free: 1.637 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006686/0.897, allocations: 303.2 kB / 0.6043 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.8974, allocations: 173.3 kB / 0.6045 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8974, allocations: 0 / 0.6045 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.8975, allocations: 71.67 kB / 0.6046 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.8978, allocations: 23.34 kB / 0.6046 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.8985, allocations: 253.7 kB / 0.6048 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.8991, allocations: 0.7585 MB / 0.6056 GB, free: 188 kB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8991, allocations: 0 / 0.6056 GB, free: 188 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)