Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",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.003024/0.003023, allocations: 196.1 kB / 8.54 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.521/1.521, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 89.28 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 45.13 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3264/0.5415, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.7021, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/1.114, allocations: 88.81 MB / 0.5906 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.115, allocations: 68.38 kB / 0.5907 GB, free: 14.17 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.01466/1.129, allocations: 5.374 MB / 0.5959 GB, free: 9.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.129, allocations: 8 kB / 0.5959 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/1.13, allocations: 15.72 kB / 0.5959 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/1.13, allocations: 226.3 kB / 0.5961 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.13, allocations: 4 kB / 0.5961 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/1.13, allocations: 0 / 0.5961 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.723e-05/1.13, allocations: 15.81 kB / 0.5962 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.13, allocations: 48.81 kB / 0.5962 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.13, allocations: 0 / 0.5962 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/1.13, allocations: 0 / 0.5962 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.13, allocations: 0 / 0.5962 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/1.131, allocations: 301.8 kB / 0.5965 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/1.131, allocations: 32.88 kB / 0.5965 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/1.131, allocations: 15.98 kB / 0.5965 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/1.131, allocations: 0 / 0.5965 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.131, allocations: 34.64 kB / 0.5966 GB, free: 8.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.131, allocations: 0 / 0.5966 GB, free: 8.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006379/1.132, allocations: 175.6 kB / 0.5967 GB, free: 8.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/1.132, allocations: 51.41 kB / 0.5968 GB, free: 8.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/1.132, allocations: 238.9 kB / 0.597 GB, free: 8.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.132, allocations: 25.7 kB / 0.597 GB, free: 8.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/1.132, allocations: 99.42 kB / 0.5971 GB, free: 8.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/1.132, allocations: 29.88 kB / 0.5972 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/1.132, allocations: 0 / 0.5972 GB, free: 8.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/1.132, allocations: 330.5 kB / 0.5975 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/1.132, allocations: 18.8 kB / 0.5975 GB, free: 7.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/1.133, allocations: 18.62 kB / 0.5975 GB, free: 7.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/1.133, allocations: 23.22 kB / 0.5975 GB, free: 7.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.133, allocations: 0 / 0.5975 GB, free: 7.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001654/1.133, allocations: 103 kB / 0.5976 GB, free: 7.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.133, allocations: 4 kB / 0.5976 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.133, allocations: 7.938 kB / 0.5977 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.133, allocations: 0 / 0.5977 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/1.133, allocations: 19.98 kB / 0.5977 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/1.133, allocations: 0 / 0.5977 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/1.133, allocations: 13.03 kB / 0.5977 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.133, allocations: 3.75 kB / 0.5977 GB, free: 7.797 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 (8): * Single equations (assignments): 8 * 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.021e-05/1.133, allocations: 105 kB / 0.5978 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/1.133, allocations: 15.81 kB / 0.5978 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/1.133, allocations: 114.5 kB / 0.5979 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.133, allocations: 4.281 kB / 0.5979 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.133, allocations: 3.984 kB / 0.5979 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.133, allocations: 0 / 0.5979 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/1.134, allocations: 404 kB / 0.5983 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.134, allocations: 3.984 kB / 0.5983 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/1.134, allocations: 23.89 kB / 0.5983 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.134, allocations: 4 kB / 0.5983 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.134, allocations: 3.438 kB / 0.5983 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.134, allocations: 240 / 0.5983 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.134, allocations: 0 / 0.5983 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002274/1.134, allocations: 213.7 kB / 0.5985 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003483/1.135, allocations: 0.5768 MB / 0.5991 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/1.135, allocations: 108.2 kB / 0.5992 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/1.135, allocations: 4 kB / 0.5992 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/1.135, allocations: 11.94 kB / 0.5992 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/1.135, allocations: 7.984 kB / 0.5992 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/1.135, allocations: 0 / 0.5992 GB, free: 6.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002881/1.135, allocations: 199.3 kB / 0.5994 GB, free: 6.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001029/1.136, allocations: 35.58 kB / 0.5995 GB, free: 6 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 (8): * Single equations (assignments): 8 * 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.0008775/1.137, allocations: 330.3 kB / 0.5998 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/1.137, allocations: 51.11 kB / 0.5998 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.137, allocations: 0 / 0.5998 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/1.138, allocations: 34.92 kB / 0.5999 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.138, allocations: 24.33 kB / 0.5999 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/1.138, allocations: 239.2 kB / 0.6001 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/1.139, allocations: 0.7461 MB / 0.6008 GB, free: 4.672 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/1.139, allocations: 4 kB / 0.6008 GB, free: 4.668 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat does not exist to compare? outputFormat=mat