Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",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.001259/0.00126, allocations: 203 kB / 8.535 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 97.78 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 45.13 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3141/0.5666, allocations: 69.38 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.7054, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4207/1.126, allocations: 89.18 MB / 0.591 GB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/1.126, allocations: 75.86 kB / 0.591 GB, free: 13.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01429/1.141, allocations: 5.378 MB / 0.5963 GB, free: 9.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.141, allocations: 11.94 kB / 0.5963 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/1.141, allocations: 15.81 kB / 0.5963 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/1.141, allocations: 201.8 kB / 0.5965 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.141, allocations: 7.938 kB / 0.5965 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/1.141, allocations: 4 kB / 0.5965 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.256e-05/1.141, allocations: 19.25 kB / 0.5965 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.393e-05/1.141, allocations: 45.06 kB / 0.5966 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.141, allocations: 3.906 kB / 0.5966 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.141, allocations: 0 / 0.5966 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.141, allocations: 7.922 kB / 0.5966 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/1.142, allocations: 287 kB / 0.5969 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/1.142, allocations: 29.08 kB / 0.5969 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/1.142, allocations: 15.8 kB / 0.5969 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/1.142, allocations: 0 / 0.5969 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.142, allocations: 38.47 kB / 0.5969 GB, free: 8.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/1.142, allocations: 4 kB / 0.5969 GB, free: 8.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000675/1.143, allocations: 187.8 kB / 0.5971 GB, free: 8.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.143, allocations: 59.41 kB / 0.5972 GB, free: 8.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/1.143, allocations: 165.3 kB / 0.5973 GB, free: 8.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/1.143, allocations: 25.7 kB / 0.5974 GB, free: 8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/1.143, allocations: 95.09 kB / 0.5975 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/1.143, allocations: 35.2 kB / 0.5975 GB, free: 7.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/1.143, allocations: 3.938 kB / 0.5975 GB, free: 7.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/1.143, allocations: 326.1 kB / 0.5978 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/1.143, allocations: 19 kB / 0.5978 GB, free: 7.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/1.143, allocations: 30.56 kB / 0.5979 GB, free: 7.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/1.143, allocations: 26.36 kB / 0.5979 GB, free: 7.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/1.143, allocations: 0 / 0.5979 GB, free: 7.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001746/1.144, allocations: 100.7 kB / 0.598 GB, free: 7.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.144, allocations: 8 kB / 0.598 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.144, allocations: 0 / 0.598 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.144, allocations: 0 / 0.598 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/1.144, allocations: 35.92 kB / 0.598 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.144, allocations: 3.984 kB / 0.598 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/1.144, allocations: 12 kB / 0.598 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.144, allocations: 0 / 0.598 GB, free: 7.363 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 (11): * Single equations (assignments): 11 * 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 9.317e-05/1.144, allocations: 108.9 kB / 0.5981 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/1.144, allocations: 19.8 kB / 0.5982 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/1.144, allocations: 110.9 kB / 0.5983 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.144, allocations: 0 / 0.5983 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.144, allocations: 0 / 0.5983 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/1.144, allocations: 7.922 kB / 0.5983 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/1.145, allocations: 419 kB / 0.5987 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.145, allocations: 4 kB / 0.5987 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.145, allocations: 27.98 kB / 0.5987 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.145, allocations: 0 / 0.5987 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.145, allocations: 11.48 kB / 0.5987 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.145, allocations: 0 / 0.5987 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.145, allocations: 0 / 0.5987 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003231/1.146, allocations: 238.9 kB / 0.5989 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004718/1.146, allocations: 0.6085 MB / 0.5995 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/1.146, allocations: 100.6 kB / 0.5996 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/1.146, allocations: 0 / 0.5996 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.146, allocations: 19.98 kB / 0.5996 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/1.146, allocations: 11.89 kB / 0.5997 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.146, allocations: 7.5 kB / 0.5997 GB, free: 5.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001021/1.146, allocations: 127.4 kB / 0.5998 GB, free: 5.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000959/1.147, allocations: 39.73 kB / 0.5998 GB, free: 5.523 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008121/1.148, allocations: 333.2 kB / 0.6001 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/1.148, allocations: 63.31 kB / 0.6002 GB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.148, allocations: 4 kB / 0.6002 GB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/1.149, allocations: 37 kB / 0.6002 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.149, allocations: 15.23 kB / 0.6003 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/1.149, allocations: 197.5 kB / 0.6004 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.15, allocations: 0.7308 MB / 0.6012 GB, free: 4.23 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/1.15, allocations: 0 / 0.6012 GB, free: 4.23 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat does not exist to compare? outputFormat=mat