Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.001181/0.001182, allocations: 203.1 kB / 8.542 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.225/1.225, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008903/0.0008904, allocations: 89.03 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1937/0.1937, allocations: 45.14 MB / 383.3 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2471/0.4409, allocations: 69.37 MB / 452.7 MB, free: 75.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.5616, allocations: 63.25 MB / 0.5039 GB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/1.002, allocations: 89.23 MB / 0.591 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/1.002, allocations: 72.08 kB / 0.5911 GB, free: 13.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0165/1.019, allocations: 5.21 MB / 0.5962 GB, free: 8.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.019, allocations: 15.94 kB / 0.5962 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/1.019, allocations: 7.906 kB / 0.5962 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/1.019, allocations: 208.1 kB / 0.5964 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/1.019, allocations: 4 kB / 0.5964 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/1.019, allocations: 4 kB / 0.5964 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.781e-05/1.019, allocations: 18.44 kB / 0.5964 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/1.019, allocations: 58.28 kB / 0.5965 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.019, allocations: 0 / 0.5965 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.019, allocations: 4 kB / 0.5965 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.019, allocations: 3.938 kB / 0.5965 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/1.02, allocations: 287.5 kB / 0.5967 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/1.02, allocations: 35.08 kB / 0.5968 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/1.02, allocations: 23.11 kB / 0.5968 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/1.02, allocations: 0 / 0.5968 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.02, allocations: 30.56 kB / 0.5968 GB, free: 8.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 4.979e-06/1.02, allocations: 7.984 kB / 0.5968 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009437/1.021, allocations: 234 kB / 0.5971 GB, free: 7.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/1.021, allocations: 77.11 kB / 0.5971 GB, free: 7.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.021, allocations: 148.1 kB / 0.5973 GB, free: 7.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/1.021, allocations: 25.7 kB / 0.5973 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/1.022, allocations: 87.64 kB / 0.5974 GB, free: 7.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/1.022, allocations: 35.23 kB / 0.5974 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/1.022, allocations: 96 / 0.5974 GB, free: 7.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/1.022, allocations: 333.8 kB / 0.5977 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/1.022, allocations: 17.44 kB / 0.5977 GB, free: 7.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/1.022, allocations: 38.59 kB / 0.5978 GB, free: 7.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/1.022, allocations: 22.86 kB / 0.5978 GB, free: 7.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/1.022, allocations: 0 / 0.5978 GB, free: 7.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/1.022, allocations: 95.5 kB / 0.5979 GB, free: 7.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.022, allocations: 8 kB / 0.5979 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.022, allocations: 0 / 0.5979 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.022, allocations: 7.969 kB / 0.5979 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/1.023, allocations: 55.95 kB / 0.598 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.023, allocations: 0 / 0.598 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/1.023, allocations: 35.97 kB / 0.598 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/1.023, allocations: 4.188 kB / 0.598 GB, free: 6.988 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 (10): * Single equations (assignments): 10 * 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.0001005/1.023, allocations: 112.5 kB / 0.5981 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/1.023, allocations: 11.89 kB / 0.5981 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/1.023, allocations: 106.7 kB / 0.5982 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.023, allocations: 0 / 0.5982 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.023, allocations: 3.906 kB / 0.5982 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.023, allocations: 3.984 kB / 0.5982 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/1.024, allocations: 379.1 kB / 0.5986 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.024, allocations: 0 / 0.5986 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/1.024, allocations: 55.33 kB / 0.5986 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/1.024, allocations: 0 / 0.5986 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.024, allocations: 4 kB / 0.5987 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.024, allocations: 4 kB / 0.5987 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.024, allocations: 0 / 0.5987 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/1.024, allocations: 189.5 kB / 0.5988 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003497/1.025, allocations: 0.5563 MB / 0.5994 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/1.025, allocations: 96.94 kB / 0.5995 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/1.025, allocations: 0 / 0.5995 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/1.025, allocations: 43.95 kB / 0.5995 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/1.025, allocations: 11.89 kB / 0.5995 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.025, allocations: 3.75 kB / 0.5995 GB, free: 5.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001049/1.025, allocations: 126 kB / 0.5996 GB, free: 5.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001004/1.026, allocations: 78.42 kB / 0.5997 GB, free: 5.254 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 (9): * Single equations (assignments): 9 * 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.0009466/1.027, allocations: 389.4 kB / 0.6001 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/1.027, allocations: 61.17 kB / 0.6002 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.027, allocations: 0 / 0.6002 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/1.027, allocations: 38.62 kB / 0.6002 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/1.028, allocations: 11.92 kB / 0.6002 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/1.028, allocations: 137.3 kB / 0.6003 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/1.029, allocations: 0.7308 MB / 0.601 GB, free: 3.977 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/1.029, allocations: 0 / 0.601 GB, free: 3.977 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat does not exist to compare? outputFormat=mat