Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",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.00129/0.00129, allocations: 199 kB / 8.536 MB, free: 1.777 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.135/1.135, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008514, allocations: 98.77 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1622/0.1622, allocations: 45.15 MB / 383.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2077/0.37, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.4637, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/0.7399, allocations: 89.25 MB / 0.591 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.7402, allocations: 70.03 kB / 0.5911 GB, free: 13.53 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01979/0.76, allocations: 9.325 MB / 0.6002 GB, free: 5.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.7601, allocations: 12 kB / 0.6002 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.7601, allocations: 43.42 kB / 0.6002 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.7606, allocations: 336 kB / 0.6006 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.7606, allocations: 0 / 0.6006 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.7606, allocations: 8 kB / 0.6006 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.078e-05/0.7607, allocations: 19.17 kB / 0.6006 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.7608, allocations: 43.77 kB / 0.6006 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7608, allocations: 4 kB / 0.6006 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.7608, allocations: 0 / 0.6006 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.7608, allocations: 0 / 0.6006 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.7614, allocations: 428.8 kB / 0.601 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.7614, allocations: 28.41 kB / 0.6011 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.7615, allocations: 12.86 kB / 0.6011 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7615, allocations: 4 kB / 0.6011 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.7615, allocations: 38.2 kB / 0.6011 GB, free: 4.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.7615, allocations: 0 / 0.6011 GB, free: 4.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.7621, allocations: 218.6 kB / 0.6013 GB, free: 4.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.7621, allocations: 55.41 kB / 0.6014 GB, free: 4.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.7632, allocations: 0.7581 MB / 0.6021 GB, free: 3.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.7633, allocations: 25.7 kB / 0.6022 GB, free: 3.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.7634, allocations: 138.1 kB / 0.6023 GB, free: 3.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.7634, allocations: 27.39 kB / 0.6023 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.7634, allocations: 0 / 0.6023 GB, free: 3.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7636, allocations: 365.6 kB / 0.6027 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.7637, allocations: 15 kB / 0.6027 GB, free: 2.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.7637, allocations: 15.23 kB / 0.6027 GB, free: 2.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.7637, allocations: 26.92 kB / 0.6027 GB, free: 2.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.7637, allocations: 0 / 0.6027 GB, free: 2.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001641/0.7639, allocations: 106.8 kB / 0.6028 GB, free: 2.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7639, allocations: 8 kB / 0.6028 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.764, allocations: 3.938 kB / 0.6028 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.764, allocations: 0 / 0.6028 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.7641, allocations: 23.48 kB / 0.6029 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7641, allocations: 0 / 0.6029 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.7642, allocations: 8 kB / 0.6029 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.7642, allocations: 4 kB / 0.6029 GB, free: 2.785 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.362e-05/0.7643, allocations: 105 kB / 0.603 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.7644, allocations: 43.44 kB / 0.603 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.7647, allocations: 146 kB / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7647, allocations: 0 / 0.6031 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7647, allocations: 7.938 kB / 0.6032 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7647, allocations: 0 / 0.6032 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.7655, allocations: 0.5831 MB / 0.6037 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7655, allocations: 0 / 0.6037 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.7656, allocations: 24.02 kB / 0.6037 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7656, allocations: 4 kB / 0.6037 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.7656, allocations: 0 / 0.6037 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7656, allocations: 0 / 0.6037 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7656, allocations: 0 / 0.6037 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002221/0.7658, allocations: 232.3 kB / 0.604 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003401/0.7662, allocations: 0.601 MB / 0.6046 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.7664, allocations: 163.8 kB / 0.6047 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.7664, allocations: 0 / 0.6047 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.7665, allocations: 23.89 kB / 0.6047 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.7666, allocations: 7.984 kB / 0.6047 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.7666, allocations: 0 / 0.6047 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006374/0.7672, allocations: 0.615 MB / 0.6053 GB, free: 440 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009211/0.7682, allocations: 67.3 kB / 0.6054 GB, free: 376 kB / 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.000674/0.7689, allocations: 331.7 kB / 0.6057 GB, free: 120 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.769, allocations: 40.81 kB / 0.6058 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.769, allocations: 0 / 0.6058 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.769, allocations: 27.56 kB / 0.6058 GB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.7693, allocations: 28.27 kB / 0.6058 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7704, allocations: 0.7291 MB / 0.6065 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.771, allocations: 0.8668 MB / 0.6074 GB, free: 14.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.771, allocations: 3.938 kB / 0.6074 GB, free: 14.48 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat does not exist to compare? outputFormat=mat