Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001071/0.001071, allocations: 205.8 kB / 8.544 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00099/0.0009901, allocations: 90.69 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2401/0.4264, allocations: 69.38 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.5226, allocations: 63.25 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.8775, allocations: 87.75 MB / 0.5896 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.8778, allocations: 69.28 kB / 0.5896 GB, free: 15.23 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01655/0.8944, allocations: 4.63 MB / 0.5942 GB, free: 11.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8944, allocations: 8 kB / 0.5942 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.8945, allocations: 7.906 kB / 0.5942 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.8947, allocations: 171 kB / 0.5943 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8948, allocations: 0 / 0.5943 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.8948, allocations: 4 kB / 0.5943 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/0.8949, allocations: 42.08 kB / 0.5944 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.8952, allocations: 181.1 kB / 0.5945 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.8952, allocations: 0 / 0.5945 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.8953, allocations: 4 kB / 0.5945 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.8953, allocations: 11.94 kB / 0.5946 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.8965, allocations: 1.678 MB / 0.5962 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.8967, allocations: 169 kB / 0.5964 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.8967, allocations: 88.08 kB / 0.5964 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.8968, allocations: 79.28 kB / 0.5965 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.8968, allocations: 105.8 kB / 0.5966 GB, free: 8.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.8968, allocations: 0 / 0.5966 GB, free: 8.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.897, allocations: 33.61 kB / 0.5967 GB, free: 8.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.897, allocations: 54.34 kB / 0.5967 GB, free: 8.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.8972, allocations: 166 kB / 0.5969 GB, free: 8.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.8973, allocations: 25.7 kB / 0.5969 GB, free: 8.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.8974, allocations: 146.4 kB / 0.597 GB, free: 8.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-06/0.8974, allocations: 14.98 kB / 0.597 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.8974, allocations: 0 / 0.597 GB, free: 8.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.8976, allocations: 317.9 kB / 0.5973 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.8976, allocations: 28.45 kB / 0.5974 GB, free: 8.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.8978, allocations: 151.4 kB / 0.5975 GB, free: 7.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.8979, allocations: 66.45 kB / 0.5976 GB, free: 7.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.898, allocations: 4 kB / 0.5976 GB, free: 7.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004185/0.8984, allocations: 167.9 kB / 0.5977 GB, free: 7.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8984, allocations: 8 kB / 0.5978 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8984, allocations: 4 kB / 0.5978 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.8985, allocations: 4 kB / 0.5978 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.8987, allocations: 43.17 kB / 0.5978 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.8987, allocations: 11.88 kB / 0.5978 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8989, allocations: 19.75 kB / 0.5978 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.8989, allocations: 8.625 kB / 0.5978 GB, free: 7.559 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001606/0.8991, allocations: 198.5 kB / 0.598 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.8992, allocations: 116.9 kB / 0.5981 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.504e-05/0.8993, allocations: 108.6 kB / 0.5982 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.863e-05/0.8994, allocations: 184.2 kB / 0.5984 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.151e-05/0.8995, allocations: 178.7 kB / 0.5986 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.146e-05/0.8996, allocations: 183.4 kB / 0.5988 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.9, allocations: 409.3 kB / 0.5992 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.9001, allocations: 101 kB / 0.5993 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.9001, allocations: 105 kB / 0.5994 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.583e-05/0.9002, allocations: 188.1 kB / 0.5995 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.9003, allocations: 176.3 kB / 0.5997 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.828e-05/0.9004, allocations: 176.3 kB / 0.5999 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.848e-05/0.9005, allocations: 184.2 kB / 0.6 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002063/0.9007, allocations: 311.3 kB / 0.6003 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003112/0.9011, allocations: 0.6867 MB / 0.601 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.9012, allocations: 190 kB / 0.6012 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/0.9013, allocations: 180.2 kB / 0.6014 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.9014, allocations: 101 kB / 0.6015 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.9015, allocations: 180.3 kB / 0.6016 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.9016, allocations: 108.9 kB / 0.6017 GB, free: 3.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001775/0.9018, allocations: 130.3 kB / 0.6019 GB, free: 3.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001515/0.9033, allocations: 22.97 kB / 0.6019 GB, free: 3.215 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 (0): * Single equations (assignments): 0 * 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.0005662/0.9039, allocations: 253.5 kB / 0.6021 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.9041, allocations: 66.67 kB / 0.6022 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9041, allocations: 0 / 0.6022 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.9041, allocations: 5.25 kB / 0.6022 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.9046, allocations: 0.5221 MB / 0.6027 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.905, allocations: 197.6 kB / 0.6029 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.9054, allocations: 0.7186 MB / 0.6036 GB, free: 1.453 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.9054, allocations: 0 / 0.6036 GB, free: 1.453 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat