Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",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.002574/0.002574, allocations: 204.3 kB / 8.535 MB, free: 1.684 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 225.5 MB / 234.4 MB, free: 14.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 91.11 kB / 286.3 MB, free: 12.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3984/0.3984, allocations: 45.14 MB / 383.3 MB, free: 40.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1415/0.5399, allocations: 69.37 MB / 452.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.9543, allocations: 63.24 MB / 0.5039 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/1.077, allocations: 89.2 MB / 0.591 GB, free: 5.164 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/1.077, allocations: 67.97 kB / 0.591 GB, free: 5.098 MB / 410.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.01552/1.093, allocations: 5.52 MB / 0.5964 GB, free: 15.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.093, allocations: 12 kB / 0.5964 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/1.093, allocations: 15.81 kB / 0.5964 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/1.093, allocations: 208.5 kB / 0.5966 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/1.093, allocations: 4 kB / 0.5966 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1.093, allocations: 3.906 kB / 0.5967 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.377e-05/1.094, allocations: 19.94 kB / 0.5967 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/1.094, allocations: 57.62 kB / 0.5967 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.094, allocations: 0 / 0.5967 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.094, allocations: 0 / 0.5967 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.094, allocations: 4 kB / 0.5967 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/1.094, allocations: 285.3 kB / 0.597 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/1.094, allocations: 29.72 kB / 0.597 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/1.094, allocations: 20.97 kB / 0.597 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/1.094, allocations: 3.984 kB / 0.5971 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/1.094, allocations: 34.47 kB / 0.5971 GB, free: 14.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/1.094, allocations: 0 / 0.5971 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006312/1.095, allocations: 209.1 kB / 0.5973 GB, free: 14.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.095, allocations: 55.34 kB / 0.5973 GB, free: 14.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/1.095, allocations: 170.4 kB / 0.5975 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/1.095, allocations: 25.7 kB / 0.5975 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/1.095, allocations: 96.12 kB / 0.5976 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/1.095, allocations: 43.39 kB / 0.5977 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/1.095, allocations: 0 / 0.5977 GB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/1.096, allocations: 326.7 kB / 0.598 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/1.096, allocations: 20 kB / 0.598 GB, free: 13.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/1.096, allocations: 28.77 kB / 0.598 GB, free: 13.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/1.096, allocations: 25.73 kB / 0.598 GB, free: 13.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/1.096, allocations: 0 / 0.598 GB, free: 13.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001653/1.096, allocations: 101.5 kB / 0.5981 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.096, allocations: 5.094 kB / 0.5981 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.096, allocations: 4 kB / 0.5981 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.096, allocations: 7.906 kB / 0.5982 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/1.096, allocations: 31.97 kB / 0.5982 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.096, allocations: 0 / 0.5982 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/1.096, allocations: 16 kB / 0.5982 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/1.096, allocations: 7.984 kB / 0.5982 GB, free: 13.55 MB / 426.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 6.284e-05/1.096, allocations: 105 kB / 0.5983 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/1.096, allocations: 11.81 kB / 0.5983 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/1.097, allocations: 123 kB / 0.5984 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/1.097, allocations: 0 / 0.5984 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.097, allocations: 0 / 0.5984 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.097, allocations: 4 kB / 0.5984 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/1.097, allocations: 416.5 kB / 0.5988 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.097, allocations: 0 / 0.5988 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/1.097, allocations: 43.92 kB / 0.5989 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.097, allocations: 384 / 0.5989 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.097, allocations: 0 / 0.5989 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.097, allocations: 8 kB / 0.5989 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.097, allocations: 0 / 0.5989 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002176/1.098, allocations: 238.4 kB / 0.5991 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003525/1.098, allocations: 0.6063 MB / 0.5997 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/1.098, allocations: 93.02 kB / 0.5998 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/1.098, allocations: 7.891 kB / 0.5998 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.098, allocations: 12 kB / 0.5998 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/1.098, allocations: 11.98 kB / 0.5998 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/1.098, allocations: 4 kB / 0.5998 GB, free: 11.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001181/1.098, allocations: 148 kB / 0.6 GB, free: 11.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008955/1.099, allocations: 39.92 kB / 0.6 GB, free: 11.56 MB / 426.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.0007941/1.1, allocations: 334.5 kB / 0.6003 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/1.1, allocations: 71.94 kB / 0.6004 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.1, allocations: 0 / 0.6004 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/1.1, allocations: 35.94 kB / 0.6004 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/1.101, allocations: 15.98 kB / 0.6004 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/1.101, allocations: 198.1 kB / 0.6006 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/1.102, allocations: 0.7403 MB / 0.6014 GB, free: 10.21 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/1.102, allocations: 0 / 0.6014 GB, free: 10.21 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat does not exist to compare? outputFormat=mat