Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001732/0.001732, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.001169, allocations: 95.56 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 45.14 MB / 383.3 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3005/0.5381, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.6839, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4178/1.102, allocations: 88.93 MB / 0.5907 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.102, allocations: 65.34 kB / 0.5908 GB, free: 13.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01564/1.118, allocations: 5.591 MB / 0.5962 GB, free: 9.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.118, allocations: 12 kB / 0.5962 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/1.118, allocations: 11.81 kB / 0.5962 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/1.118, allocations: 217.3 kB / 0.5965 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.118, allocations: 0 / 0.5965 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/1.118, allocations: 11.84 kB / 0.5965 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/1.118, allocations: 41.67 kB / 0.5965 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/1.119, allocations: 62.19 kB / 0.5966 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.119, allocations: 0 / 0.5966 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.119, allocations: 0 / 0.5966 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/1.119, allocations: 3.984 kB / 0.5966 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/1.119, allocations: 330.6 kB / 0.5969 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/1.119, allocations: 47.16 kB / 0.5969 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/1.119, allocations: 20.41 kB / 0.597 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/1.119, allocations: 0 / 0.597 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.119, allocations: 33.56 kB / 0.597 GB, free: 8.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.119, allocations: 0 / 0.597 GB, free: 8.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007774/1.12, allocations: 234.1 kB / 0.5972 GB, free: 8.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.12, allocations: 54.66 kB / 0.5973 GB, free: 8.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/1.121, allocations: 209.8 kB / 0.5975 GB, free: 7.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/1.121, allocations: 25.7 kB / 0.5975 GB, free: 7.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/1.121, allocations: 103.2 kB / 0.5976 GB, free: 7.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/1.121, allocations: 42.61 kB / 0.5976 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/1.121, allocations: 0 / 0.5976 GB, free: 7.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.121, allocations: 330 kB / 0.5979 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/1.121, allocations: 34.8 kB / 0.598 GB, free: 7.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/1.121, allocations: 33.75 kB / 0.598 GB, free: 7.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.685e-05/1.121, allocations: 47.97 kB / 0.598 GB, free: 7.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.121, allocations: 0 / 0.598 GB, free: 7.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001995/1.121, allocations: 126.6 kB / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.121, allocations: 8 kB / 0.5982 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.121, allocations: 0 / 0.5982 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.121, allocations: 0 / 0.5982 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/1.121, allocations: 31.98 kB / 0.5982 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.121, allocations: 0 / 0.5982 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/1.122, allocations: 11.89 kB / 0.5982 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/1.122, allocations: 7.984 kB / 0.5982 GB, free: 7.191 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 (13): * Single equations (assignments): 13 * 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.516e-05/1.122, allocations: 101 kB / 0.5983 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/1.122, allocations: 23.75 kB / 0.5983 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/1.122, allocations: 169.5 kB / 0.5985 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.122, allocations: 4 kB / 0.5985 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.122, allocations: 3.938 kB / 0.5985 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.122, allocations: 3.906 kB / 0.5985 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/1.123, allocations: 464.1 kB / 0.599 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/1.123, allocations: 0 / 0.599 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/1.123, allocations: 31.92 kB / 0.599 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.123, allocations: 3.984 kB / 0.599 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/1.123, allocations: 4 kB / 0.599 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.123, allocations: 0 / 0.599 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.123, allocations: 0 / 0.599 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002668/1.123, allocations: 245.3 kB / 0.5992 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003428/1.123, allocations: 0.6163 MB / 0.5998 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/1.123, allocations: 104.7 kB / 0.5999 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/1.124, allocations: 3.906 kB / 0.5999 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/1.124, allocations: 11.98 kB / 0.5999 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/1.124, allocations: 7.984 kB / 0.6 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.124, allocations: 4 kB / 0.6 GB, free: 5.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001522/1.124, allocations: 168.2 kB / 0.6001 GB, free: 5.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009912/1.125, allocations: 39.11 kB / 0.6002 GB, free: 5.266 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008365/1.126, allocations: 335.3 kB / 0.6005 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/1.126, allocations: 89.17 kB / 0.6006 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.126, allocations: 0 / 0.6006 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/1.126, allocations: 54.42 kB / 0.6006 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/1.126, allocations: 15.42 kB / 0.6006 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/1.127, allocations: 250.4 kB / 0.6009 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/1.127, allocations: 0.7502 MB / 0.6016 GB, free: 3.883 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/1.127, allocations: 0 / 0.6016 GB, free: 3.883 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat does not exist to compare? outputFormat=mat