Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",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.001084/0.001084, allocations: 198.8 kB / 8.538 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.402/1.402, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 99.61 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 45.14 MB / 383.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2532/0.4446, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.5899, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/1.031, allocations: 89.19 MB / 0.591 GB, free: 13.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.032, allocations: 64.16 kB / 0.591 GB, free: 13.57 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.01518/1.047, allocations: 5.615 MB / 0.5965 GB, free: 8.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.047, allocations: 11.94 kB / 0.5965 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/1.047, allocations: 15.81 kB / 0.5965 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/1.047, allocations: 214.7 kB / 0.5967 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/1.047, allocations: 8.75 kB / 0.5968 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.047, allocations: 4 kB / 0.5968 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.584e-05/1.047, allocations: 18.94 kB / 0.5968 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/1.047, allocations: 48.94 kB / 0.5968 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/1.047, allocations: 7.938 kB / 0.5968 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/1.047, allocations: 0 / 0.5968 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/1.047, allocations: 0 / 0.5968 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/1.048, allocations: 296 kB / 0.5971 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/1.048, allocations: 39.92 kB / 0.5971 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/1.048, allocations: 11.67 kB / 0.5972 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/1.048, allocations: 4 kB / 0.5972 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.048, allocations: 30.56 kB / 0.5972 GB, free: 8.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.048, allocations: 0 / 0.5972 GB, free: 8.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006284/1.049, allocations: 195.8 kB / 0.5974 GB, free: 7.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/1.049, allocations: 59.34 kB / 0.5974 GB, free: 7.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/1.049, allocations: 193.3 kB / 0.5976 GB, free: 7.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/1.049, allocations: 25.7 kB / 0.5976 GB, free: 7.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/1.049, allocations: 102.6 kB / 0.5977 GB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/1.049, allocations: 34.7 kB / 0.5978 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.049, allocations: 3.938 kB / 0.5978 GB, free: 7.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/1.049, allocations: 325.5 kB / 0.5981 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/1.049, allocations: 21.69 kB / 0.5981 GB, free: 7.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/1.049, allocations: 19.5 kB / 0.5981 GB, free: 7.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/1.049, allocations: 29.11 kB / 0.5982 GB, free: 7.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/1.049, allocations: 4 kB / 0.5982 GB, free: 7.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001625/1.05, allocations: 99.69 kB / 0.5983 GB, free: 7.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.05, allocations: 4 kB / 0.5983 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.05, allocations: 0 / 0.5983 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.05, allocations: 0 / 0.5983 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/1.05, allocations: 39.84 kB / 0.5983 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.05, allocations: 4 kB / 0.5983 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/1.05, allocations: 15.91 kB / 0.5983 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/1.05, allocations: 4 kB / 0.5983 GB, free: 6.996 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 7.711e-05/1.05, allocations: 105 kB / 0.5984 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/1.05, allocations: 18.75 kB / 0.5984 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/1.05, allocations: 125.2 kB / 0.5986 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.05, allocations: 0 / 0.5986 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.05, allocations: 0 / 0.5986 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.05, allocations: 3.938 kB / 0.5986 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/1.051, allocations: 418.2 kB / 0.599 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.051, allocations: 4 kB / 0.599 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.051, allocations: 35.98 kB / 0.599 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/1.051, allocations: 7.938 kB / 0.599 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/1.051, allocations: 4.359 kB / 0.599 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.051, allocations: 0 / 0.599 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.051, allocations: 8 kB / 0.599 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002089/1.051, allocations: 233.6 kB / 0.5992 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003284/1.052, allocations: 0.609 MB / 0.5998 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/1.052, allocations: 100.8 kB / 0.5999 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/1.052, allocations: 4 kB / 0.5999 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/1.052, allocations: 15.05 kB / 0.5999 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/1.052, allocations: 11.98 kB / 0.6 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.052, allocations: 4 kB / 0.6 GB, free: 5.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001399/1.052, allocations: 159.4 kB / 0.6001 GB, free: 5.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008984/1.053, allocations: 38.67 kB / 0.6002 GB, free: 5.125 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.0007705/1.054, allocations: 331.2 kB / 0.6005 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/1.054, allocations: 61.38 kB / 0.6005 GB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.054, allocations: 0 / 0.6005 GB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/1.054, allocations: 38.69 kB / 0.6006 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/1.054, allocations: 19.27 kB / 0.6006 GB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/1.055, allocations: 218.3 kB / 0.6008 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/1.055, allocations: 0.7385 MB / 0.6015 GB, free: 3.809 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/1.055, allocations: 0 / 0.6015 GB, free: 3.809 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat does not exist to compare? outputFormat=mat