Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",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.001842/0.001842, allocations: 199.2 kB / 8.536 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 93.88 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3101/0.5481, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.6943, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/1.162, allocations: 88.92 MB / 0.5907 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.162, allocations: 71.47 kB / 0.5908 GB, free: 13.86 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.01481/1.177, allocations: 5.258 MB / 0.5959 GB, free: 9.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.177, allocations: 12 kB / 0.5959 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.177, allocations: 11.91 kB / 0.5959 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/1.177, allocations: 207.3 kB / 0.5961 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/1.177, allocations: 0 / 0.5961 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/1.177, allocations: 4.562 kB / 0.5961 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/1.177, allocations: 33.92 kB / 0.5962 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.177, allocations: 63.92 kB / 0.5962 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.178, allocations: 3.906 kB / 0.5962 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.178, allocations: 0 / 0.5962 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.178, allocations: 0 / 0.5962 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/1.178, allocations: 313.8 kB / 0.5965 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/1.178, allocations: 60.23 kB / 0.5966 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/1.178, allocations: 16.8 kB / 0.5966 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/1.178, allocations: 0 / 0.5966 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.178, allocations: 38.55 kB / 0.5966 GB, free: 8.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/1.178, allocations: 0 / 0.5966 GB, free: 8.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007041/1.179, allocations: 221.4 kB / 0.5968 GB, free: 8.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/1.179, allocations: 55.41 kB / 0.5969 GB, free: 8.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.179, allocations: 155.9 kB / 0.597 GB, free: 8.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.179, allocations: 25.7 kB / 0.5971 GB, free: 8.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/1.179, allocations: 87.45 kB / 0.5972 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/1.179, allocations: 46.42 kB / 0.5972 GB, free: 8.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/1.179, allocations: 0 / 0.5972 GB, free: 8.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/1.179, allocations: 322.3 kB / 0.5975 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/1.179, allocations: 37.61 kB / 0.5975 GB, free: 7.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/1.18, allocations: 26.25 kB / 0.5976 GB, free: 7.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.628e-05/1.18, allocations: 49.47 kB / 0.5976 GB, free: 7.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/1.18, allocations: 4 kB / 0.5976 GB, free: 7.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001852/1.18, allocations: 122.4 kB / 0.5977 GB, free: 7.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.18, allocations: 4 kB / 0.5977 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.18, allocations: 0 / 0.5977 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.18, allocations: 3.984 kB / 0.5977 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/1.18, allocations: 31.92 kB / 0.5978 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/1.18, allocations: 0 / 0.5978 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/1.18, allocations: 12 kB / 0.5978 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/1.18, allocations: 7.562 kB / 0.5978 GB, free: 7.543 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 8.761e-05/1.18, allocations: 104.9 kB / 0.5979 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/1.18, allocations: 7.906 kB / 0.5979 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/1.181, allocations: 169.1 kB / 0.5981 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.181, allocations: 3.906 kB / 0.5981 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.181, allocations: 0 / 0.5981 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.181, allocations: 4 kB / 0.5981 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/1.181, allocations: 444.7 kB / 0.5985 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.181, allocations: 0 / 0.5985 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.181, allocations: 31.86 kB / 0.5985 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.181, allocations: 4.031 kB / 0.5985 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/1.181, allocations: 4 kB / 0.5985 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/1.181, allocations: 4 kB / 0.5985 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.181, allocations: 3.906 kB / 0.5985 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003731/1.182, allocations: 240 kB / 0.5988 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005205/1.182, allocations: 0.6065 MB / 0.5994 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/1.182, allocations: 93 kB / 0.5994 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/1.182, allocations: 3.938 kB / 0.5994 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/1.183, allocations: 4 kB / 0.5995 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/1.183, allocations: 15.92 kB / 0.5995 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/1.183, allocations: 11.66 kB / 0.5995 GB, free: 5.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000135/1.183, allocations: 121.4 kB / 0.5996 GB, free: 5.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001688/1.185, allocations: 35.12 kB / 0.5996 GB, free: 5.688 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.001172/1.186, allocations: 328.7 kB / 0.5999 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002979/1.186, allocations: 88.73 kB / 0.6 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.186, allocations: 0 / 0.6 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.186, allocations: 58.42 kB / 0.6001 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/1.187, allocations: 7.984 kB / 0.6001 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/1.187, allocations: 192.3 kB / 0.6003 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/1.188, allocations: 0.7382 MB / 0.601 GB, free: 4.379 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/1.188, allocations: 3.938 kB / 0.601 GB, free: 4.375 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat does not exist to compare? outputFormat=mat