Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32",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.001556/0.001556, allocations: 195.7 kB / 8.537 MB, free: 1.742 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009847/0.0009846, allocations: 94.53 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2525/0.4427, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.5464, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.8759, allocations: 89.43 MB / 0.5912 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.8762, allocations: 76.14 kB / 0.5913 GB, free: 13.36 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.02126/0.8975, allocations: 7.54 MB / 0.5986 GB, free: 7.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8976, allocations: 11.94 kB / 0.5986 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.8976, allocations: 7.906 kB / 0.5987 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.8979, allocations: 201.9 kB / 0.5988 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.8979, allocations: 0 / 0.5988 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.8979, allocations: 4 kB / 0.5988 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.073e-05/0.898, allocations: 14 kB / 0.5989 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.8981, allocations: 58.38 kB / 0.5989 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8981, allocations: 0 / 0.5989 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.8982, allocations: 7.938 kB / 0.5989 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.8982, allocations: 0 / 0.5989 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.8986, allocations: 275.7 kB / 0.5992 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.8986, allocations: 29.95 kB / 0.5992 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.8987, allocations: 12.27 kB / 0.5992 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.8987, allocations: 4 kB / 0.5992 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.8987, allocations: 38.38 kB / 0.5993 GB, free: 6.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8987, allocations: 0 / 0.5993 GB, free: 6.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004658/0.8992, allocations: 141.8 kB / 0.5994 GB, free: 6.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.8993, allocations: 81.11 kB / 0.5995 GB, free: 6.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.8994, allocations: 135.7 kB / 0.5996 GB, free: 6.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.8994, allocations: 25.7 kB / 0.5996 GB, free: 6.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.8995, allocations: 91.31 kB / 0.5997 GB, free: 6.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.8995, allocations: 18.59 kB / 0.5997 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.8995, allocations: 0 / 0.5997 GB, free: 6.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8996, allocations: 322.3 kB / 0.6 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.8997, allocations: 15.06 kB / 0.6001 GB, free: 5.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.8997, allocations: 28.41 kB / 0.6001 GB, free: 5.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.8998, allocations: 19.2 kB / 0.6001 GB, free: 5.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.8998, allocations: 0 / 0.6001 GB, free: 5.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001281/0.8999, allocations: 71.11 kB / 0.6002 GB, free: 5.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8999, allocations: 4 kB / 0.6002 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8999, allocations: 3.984 kB / 0.6002 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8999, allocations: 0 / 0.6002 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.9001, allocations: 31.52 kB / 0.6002 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.9001, allocations: 0 / 0.6002 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.9002, allocations: 15.98 kB / 0.6002 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.9002, allocations: 3.938 kB / 0.6002 GB, free: 5.637 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.772e-05/0.9003, allocations: 109 kB / 0.6003 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.9003, allocations: 11.81 kB / 0.6003 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.9005, allocations: 92.77 kB / 0.6004 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9005, allocations: 144 / 0.6004 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.9006, allocations: 7.984 kB / 0.6004 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9006, allocations: 0 / 0.6004 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.901, allocations: 329.6 kB / 0.6008 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.901, allocations: 0 / 0.6008 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.9011, allocations: 34.55 kB / 0.6008 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9011, allocations: 0 / 0.6008 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.9011, allocations: 0 / 0.6008 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9011, allocations: 0 / 0.6008 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9011, allocations: 0 / 0.6008 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002147/0.9013, allocations: 174 kB / 0.601 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000314/0.9017, allocations: 0.5478 MB / 0.6015 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.9017, allocations: 96.66 kB / 0.6016 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.9018, allocations: 0 / 0.6016 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.9019, allocations: 15.98 kB / 0.6016 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.9019, allocations: 7.938 kB / 0.6016 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.902, allocations: 4 kB / 0.6016 GB, free: 4.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.767e-05/0.9021, allocations: 113 kB / 0.6017 GB, free: 4.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001063/0.9031, allocations: 65.78 kB / 0.6018 GB, free: 4.035 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.0008852/0.904, allocations: 388.4 kB / 0.6022 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.9042, allocations: 41.38 kB / 0.6022 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9042, allocations: 0 / 0.6022 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.9042, allocations: 22.56 kB / 0.6022 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.9045, allocations: 11.48 kB / 0.6022 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.9049, allocations: 117.6 kB / 0.6023 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.9053, allocations: 0.7264 MB / 0.603 GB, free: 2.805 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9053, allocations: 0 / 0.603 GB, free: 2.805 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1)