Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",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.002106/0.002106, allocations: 197.7 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001085, allocations: 94.36 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3004/0.3004, allocations: 45.15 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3442/0.6447, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.8065, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/1.203, allocations: 89.04 MB / 0.5908 GB, free: 13.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.203, allocations: 66.41 kB / 0.5909 GB, free: 13.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02841/1.232, allocations: 12.22 MB / 0.6028 GB, free: 4.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.232, allocations: 11.94 kB / 0.6028 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/1.232, allocations: 11.81 kB / 0.6028 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/1.232, allocations: 186.9 kB / 0.603 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/1.232, allocations: 3.938 kB / 0.603 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/1.232, allocations: 4 kB / 0.603 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.177e-05/1.232, allocations: 18.05 kB / 0.603 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/1.233, allocations: 58.53 kB / 0.6031 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.233, allocations: 0 / 0.6031 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.233, allocations: 0 / 0.6031 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.233, allocations: 0 / 0.6031 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/1.233, allocations: 273.8 kB / 0.6034 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/1.233, allocations: 32.45 kB / 0.6034 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/1.233, allocations: 8.922 kB / 0.6034 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/1.233, allocations: 8.078 kB / 0.6034 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.233, allocations: 34.5 kB / 0.6034 GB, free: 3.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/1.233, allocations: 4 kB / 0.6034 GB, free: 3.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004806/1.234, allocations: 105.2 kB / 0.6035 GB, free: 3.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.234, allocations: 85.09 kB / 0.6036 GB, free: 3.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/1.234, allocations: 133.3 kB / 0.6038 GB, free: 3.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.234, allocations: 25.7 kB / 0.6038 GB, free: 3.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/1.234, allocations: 83.95 kB / 0.6039 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/1.234, allocations: 27.17 kB / 0.6039 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/1.234, allocations: 0 / 0.6039 GB, free: 3.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/1.234, allocations: 318.3 kB / 0.6042 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/1.234, allocations: 7.188 kB / 0.6042 GB, free: 2.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/1.234, allocations: 29.02 kB / 0.6042 GB, free: 2.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/1.234, allocations: 15.75 kB / 0.6042 GB, free: 2.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.234, allocations: 0 / 0.6042 GB, free: 2.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001234/1.235, allocations: 68.28 kB / 0.6043 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.235, allocations: 8.031 kB / 0.6043 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.235, allocations: 3.984 kB / 0.6043 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.235, allocations: 7.844 kB / 0.6043 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/1.235, allocations: 12 kB / 0.6043 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.235, allocations: 4 kB / 0.6043 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/1.235, allocations: 7.984 kB / 0.6043 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/1.235, allocations: 4 kB / 0.6043 GB, free: 2.555 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 (5): * Single equations (assignments): 5 * 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 8.366e-05/1.235, allocations: 108.9 kB / 0.6045 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/1.235, allocations: 7.906 kB / 0.6045 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/1.235, allocations: 75.36 kB / 0.6045 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.235, allocations: 0 / 0.6045 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.235, allocations: 3.906 kB / 0.6045 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.235, allocations: 0 / 0.6045 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/1.235, allocations: 318.8 kB / 0.6048 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.236, allocations: 4 kB / 0.6048 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/1.236, allocations: 15.98 kB / 0.6049 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.236, allocations: 7.938 kB / 0.6049 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/1.236, allocations: 3.906 kB / 0.6049 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.236, allocations: 0 / 0.6049 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.236, allocations: 0 / 0.6049 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001668/1.236, allocations: 162.6 kB / 0.605 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002982/1.236, allocations: 0.543 MB / 0.6056 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/1.236, allocations: 91.5 kB / 0.6056 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/1.236, allocations: 0 / 0.6056 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.236, allocations: 8 kB / 0.6056 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/1.236, allocations: 7.984 kB / 0.6057 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/1.236, allocations: 4 kB / 0.6057 GB, free: 1.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-05/1.236, allocations: 108.3 kB / 0.6058 GB, free: 1.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000879/1.237, allocations: 53.88 kB / 0.6058 GB, free: 1.027 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 (5): * Single equations (assignments): 5 * 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.0008512/1.238, allocations: 386.6 kB / 0.6062 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/1.238, allocations: 34.06 kB / 0.6062 GB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.238, allocations: 0 / 0.6062 GB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/1.238, allocations: 27.05 kB / 0.6062 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/1.239, allocations: 11.91 kB / 0.6063 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/1.239, allocations: 112.8 kB / 0.6064 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/1.239, allocations: 0.7152 MB / 0.6071 GB, free: 15.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.224e-06/1.239, allocations: 0 / 0.6071 GB, free: 15.81 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat does not exist to compare? outputFormat=mat