Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001249/0.001249, allocations: 201 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.115/1.115, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008307/0.0008307, allocations: 93.05 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1556/0.1556, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1941/0.3497, allocations: 69.38 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.4303, allocations: 63.23 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/0.6806, allocations: 89.88 MB / 0.5916 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.6808, allocations: 71.95 kB / 0.5917 GB, free: 13.11 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.01863/0.6995, allocations: 7.64 MB / 0.5992 GB, free: 6.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.6995, allocations: 12 kB / 0.5992 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.6996, allocations: 11.89 kB / 0.5992 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.6998, allocations: 194.2 kB / 0.5994 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.6998, allocations: 4 kB / 0.5994 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.6998, allocations: 0 / 0.5994 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.363e-05/0.6999, allocations: 26.42 kB / 0.5994 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.546e-05/0.7, allocations: 65.25 kB / 0.5995 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7, allocations: 0 / 0.5995 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.7, allocations: 0 / 0.5995 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7, allocations: 4 kB / 0.5995 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.7004, allocations: 291.5 kB / 0.5997 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.7005, allocations: 41.52 kB / 0.5998 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.7006, allocations: 15.16 kB / 0.5998 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.7006, allocations: 4.078 kB / 0.5998 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.7006, allocations: 37.62 kB / 0.5998 GB, free: 6.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7006, allocations: 0 / 0.5998 GB, free: 6.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004587/0.7011, allocations: 154.8 kB / 0.6 GB, free: 6.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.7011, allocations: 81.05 kB / 0.6001 GB, free: 6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.7012, allocations: 141.1 kB / 0.6002 GB, free: 5.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.7013, allocations: 25.7 kB / 0.6002 GB, free: 5.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.7013, allocations: 91.33 kB / 0.6003 GB, free: 5.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.7013, allocations: 23.2 kB / 0.6003 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.7013, allocations: 4 kB / 0.6003 GB, free: 5.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.7014, allocations: 330 kB / 0.6007 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.7015, allocations: 15.19 kB / 0.6007 GB, free: 5.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.7015, allocations: 36.64 kB / 0.6007 GB, free: 5.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.7016, allocations: 19.25 kB / 0.6007 GB, free: 5.348 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.7016, allocations: 0 / 0.6007 GB, free: 5.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.7017, allocations: 88.36 kB / 0.6008 GB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7017, allocations: 11.12 kB / 0.6008 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7017, allocations: 4.109 kB / 0.6008 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.7017, allocations: 0 / 0.6008 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.7019, allocations: 27.92 kB / 0.6008 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7019, allocations: 7.922 kB / 0.6009 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.702, allocations: 15.98 kB / 0.6009 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.702, allocations: 4 kB / 0.6009 GB, free: 5.203 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 5.686e-05/0.7021, allocations: 104.9 kB / 0.601 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.7021, allocations: 7.906 kB / 0.601 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.7023, allocations: 103.6 kB / 0.6011 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7023, allocations: 0 / 0.6011 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7023, allocations: 0 / 0.6011 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7023, allocations: 4 kB / 0.6011 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.7026, allocations: 361.4 kB / 0.6014 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7027, allocations: 0 / 0.6014 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.7028, allocations: 27.53 kB / 0.6015 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7028, allocations: 4 kB / 0.6015 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.7028, allocations: 4 kB / 0.6015 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7028, allocations: 0 / 0.6015 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7028, allocations: 0 / 0.6015 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001551/0.703, allocations: 185.8 kB / 0.6016 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002599/0.7032, allocations: 0.5576 MB / 0.6022 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.7033, allocations: 96.56 kB / 0.6023 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.7033, allocations: 0 / 0.6023 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.7034, allocations: 12 kB / 0.6023 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.7035, allocations: 7.984 kB / 0.6023 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.7035, allocations: 0 / 0.6023 GB, free: 3.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.377e-05/0.7036, allocations: 115.9 kB / 0.6024 GB, free: 3.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009357/0.7045, allocations: 77.44 kB / 0.6025 GB, free: 3.566 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.0006883/0.7052, allocations: 385.9 kB / 0.6028 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.7053, allocations: 53.8 kB / 0.6029 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7054, allocations: 0 / 0.6029 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.7054, allocations: 35.48 kB / 0.6029 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.7056, allocations: 19.56 kB / 0.603 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.706, allocations: 141.4 kB / 0.6031 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.7063, allocations: 0.7266 MB / 0.6038 GB, free: 2.293 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.7063, allocations: 0 / 0.6038 GB, free: 2.293 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)