Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",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.00195/0.00195, allocations: 203.6 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 94.91 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 45.13 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2943/0.5337, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.6779, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/1.083, allocations: 88.71 MB / 0.5905 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.084, allocations: 66.66 kB / 0.5906 GB, free: 14.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0129/1.097, allocations: 4.598 MB / 0.595 GB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.097, allocations: 8 kB / 0.5951 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/1.097, allocations: 7.906 kB / 0.5951 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/1.097, allocations: 194.6 kB / 0.5952 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.097, allocations: 4 kB / 0.5953 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/1.097, allocations: 0 / 0.5953 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.25e-05/1.097, allocations: 18.62 kB / 0.5953 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/1.097, allocations: 45.03 kB / 0.5953 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.097, allocations: 0 / 0.5953 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.097, allocations: 0 / 0.5953 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/1.097, allocations: 0 / 0.5953 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/1.098, allocations: 267.2 kB / 0.5956 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/1.098, allocations: 40.45 kB / 0.5956 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/1.098, allocations: 8.859 kB / 0.5956 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/1.098, allocations: 0 / 0.5956 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.098, allocations: 34 kB / 0.5956 GB, free: 9.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/1.098, allocations: 0 / 0.5956 GB, free: 9.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000489/1.098, allocations: 115.6 kB / 0.5958 GB, free: 9.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.098, allocations: 51.41 kB / 0.5958 GB, free: 9.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/1.099, allocations: 154.7 kB / 0.596 GB, free: 9.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.099, allocations: 25.7 kB / 0.596 GB, free: 9.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/1.099, allocations: 91.78 kB / 0.5961 GB, free: 9.133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/1.099, allocations: 14.94 kB / 0.5961 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/1.099, allocations: 0 / 0.5961 GB, free: 9.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/1.099, allocations: 330.7 kB / 0.5964 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/1.099, allocations: 7.75 kB / 0.5964 GB, free: 8.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/1.099, allocations: 11.25 kB / 0.5964 GB, free: 8.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/1.099, allocations: 19.67 kB / 0.5964 GB, free: 8.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.71e-07/1.099, allocations: 0 / 0.5964 GB, free: 8.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/1.099, allocations: 72.53 kB / 0.5965 GB, free: 8.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.099, allocations: 4 kB / 0.5965 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.099, allocations: 0 / 0.5965 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.099, allocations: 3.906 kB / 0.5965 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/1.099, allocations: 19.94 kB / 0.5965 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.099, allocations: 3.984 kB / 0.5965 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/1.099, allocations: 12.08 kB / 0.5965 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/1.099, allocations: 0 / 0.5965 GB, free: 8.656 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 (5): * Single equations (assignments): 5 * 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.145e-05/1.099, allocations: 101 kB / 0.5966 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/1.1, allocations: 11.89 kB / 0.5966 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/1.1, allocations: 84.64 kB / 0.5967 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/1.1, allocations: 0 / 0.5967 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.1, allocations: 0 / 0.5967 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.1, allocations: 0 / 0.5967 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/1.1, allocations: 319.8 kB / 0.597 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.1, allocations: 3.906 kB / 0.597 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/1.1, allocations: 15.98 kB / 0.5971 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.1, allocations: 4 kB / 0.5971 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/1.1, allocations: 0 / 0.5971 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.1, allocations: 4 kB / 0.5971 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.1, allocations: 0 / 0.5971 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001351/1.1, allocations: 157.2 kB / 0.5972 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002581/1.101, allocations: 0.5482 MB / 0.5977 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/1.101, allocations: 85.02 kB / 0.5978 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/1.101, allocations: 0 / 0.5978 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/1.101, allocations: 11.98 kB / 0.5978 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/1.101, allocations: 0 / 0.5978 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/1.101, allocations: 7.906 kB / 0.5978 GB, free: 7.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.768e-05/1.101, allocations: 117.6 kB / 0.598 GB, free: 7.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008531/1.102, allocations: 23.17 kB / 0.598 GB, free: 7.148 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 (5): * Single equations (assignments): 5 * 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.000949/1.103, allocations: 298.7 kB / 0.5983 GB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/1.103, allocations: 34.5 kB / 0.5983 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.103, allocations: 0 / 0.5983 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/1.103, allocations: 15.69 kB / 0.5983 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/1.103, allocations: 23.28 kB / 0.5983 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/1.104, allocations: 132.9 kB / 0.5985 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/1.104, allocations: 0.7184 MB / 0.5992 GB, free: 5.98 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/1.104, allocations: 0 / 0.5992 GB, free: 5.98 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat does not exist to compare? outputFormat=mat