Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001246/0.001246, allocations: 202.4 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 92.55 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.2383/0.2383, allocations: 45.15 MB / 383.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.249/0.4874, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.625, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.9746, allocations: 88.81 MB / 0.5906 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.9748, allocations: 73.03 kB / 0.5907 GB, free: 13.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01499/0.9898, allocations: 5.535 MB / 0.5961 GB, free: 9.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9899, allocations: 8 kB / 0.5961 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.9899, allocations: 15.81 kB / 0.5961 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.9902, allocations: 218.4 kB / 0.5963 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.9902, allocations: 4 kB / 0.5963 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.9903, allocations: 7.938 kB / 0.5963 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.82e-05/0.9904, allocations: 34.81 kB / 0.5963 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.866e-05/0.9905, allocations: 56.88 kB / 0.5964 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9905, allocations: 0 / 0.5964 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.9905, allocations: 0 / 0.5964 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.9905, allocations: 11.98 kB / 0.5964 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.991, allocations: 304.6 kB / 0.5967 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.9911, allocations: 40.91 kB / 0.5967 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.9911, allocations: 20.42 kB / 0.5968 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.9911, allocations: 0 / 0.5968 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.9912, allocations: 42.23 kB / 0.5968 GB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.9912, allocations: 0 / 0.5968 GB, free: 8.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006045/0.9918, allocations: 202.1 kB / 0.597 GB, free: 8.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.9918, allocations: 55.34 kB / 0.597 GB, free: 8.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.992, allocations: 212.6 kB / 0.5972 GB, free: 8.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.9921, allocations: 25.7 kB / 0.5973 GB, free: 8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.9921, allocations: 98.72 kB / 0.5974 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.9922, allocations: 43.02 kB / 0.5974 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.9922, allocations: 0 / 0.5974 GB, free: 7.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9923, allocations: 329 kB / 0.5977 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.9923, allocations: 22.73 kB / 0.5977 GB, free: 7.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.9924, allocations: 30.53 kB / 0.5978 GB, free: 7.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.9924, allocations: 26.92 kB / 0.5978 GB, free: 7.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.9924, allocations: 8 kB / 0.5978 GB, free: 7.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001685/0.9926, allocations: 111.5 kB / 0.5979 GB, free: 7.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.9926, allocations: 4 kB / 0.5979 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9927, allocations: 0 / 0.5979 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.9927, allocations: 0 / 0.5979 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.9928, allocations: 35.86 kB / 0.5979 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9928, allocations: 0 / 0.5979 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.9929, allocations: 12 kB / 0.598 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.9929, allocations: 0 / 0.598 GB, free: 7.34 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.797e-05/0.993, allocations: 112.2 kB / 0.5981 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.9931, allocations: 15.72 kB / 0.5981 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.9933, allocations: 137.3 kB / 0.5982 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.9933, allocations: 0 / 0.5982 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9933, allocations: 0 / 0.5982 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9933, allocations: 0 / 0.5982 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.994, allocations: 449.3 kB / 0.5986 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.994, allocations: 3.938 kB / 0.5986 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.9941, allocations: 23.98 kB / 0.5987 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9941, allocations: 4 kB / 0.5987 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.9941, allocations: 7.781 kB / 0.5987 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9941, allocations: 0 / 0.5987 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9941, allocations: 4 kB / 0.5987 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002212/0.9944, allocations: 230.6 kB / 0.5989 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003309/0.9947, allocations: 0.5959 MB / 0.5995 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.9948, allocations: 100.9 kB / 0.5996 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.9948, allocations: 0 / 0.5996 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.995, allocations: 7.984 kB / 0.5996 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.9951, allocations: 7.984 kB / 0.5996 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.9951, allocations: 11.31 kB / 0.5996 GB, free: 5.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001545/0.9952, allocations: 164.5 kB / 0.5998 GB, free: 5.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002187/0.9974, allocations: 43.08 kB / 0.5998 GB, free: 5.488 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.0007104/0.9981, allocations: 334.5 kB / 0.6001 GB, free: 5.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.9983, allocations: 78.94 kB / 0.6002 GB, free: 5.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9983, allocations: 0 / 0.6002 GB, free: 5.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.9984, allocations: 42.38 kB / 0.6002 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.9988, allocations: 12.11 kB / 0.6002 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/0.9995, allocations: 232.6 kB / 0.6005 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/1, allocations: 0.7501 MB / 0.6012 GB, free: 4.137 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/1, allocations: 0 / 0.6012 GB, free: 4.137 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat