Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 179.8 kB / 8.517 MB, free: 500 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.4 MB / 230.3 MB, free: 13.62 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 92.97 kB / 281.2 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.14 MB / 376.1 MB, free: 11.65 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2764/0.5032, allocations: 68.02 MB / 444.1 MB, free: 54.28 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.6395, allocations: 61.91 MB / 0.4942 GB, free: 8.293 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.9968, allocations: 87.24 MB / 0.5794 GB, free: 11.49 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.997, allocations: 72.83 kB / 0.5794 GB, free: 11.42 MB / 402.8 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.01102/1.008, allocations: 4.396 MB / 0.5837 GB, free: 6.996 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.008, allocations: 15.94 kB / 0.5837 GB, free: 6.98 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/1.008, allocations: 11.81 kB / 0.5838 GB, free: 6.969 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/1.008, allocations: 202.8 kB / 0.584 GB, free: 6.73 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/1.008, allocations: 0 / 0.584 GB, free: 6.73 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/1.008, allocations: 4 kB / 0.584 GB, free: 6.727 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.727e-05/1.009, allocations: 15.98 kB / 0.584 GB, free: 6.711 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.039e-05/1.009, allocations: 45.69 kB / 0.584 GB, free: 6.66 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.009, allocations: 8 kB / 0.584 GB, free: 6.652 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.009, allocations: 0 / 0.584 GB, free: 6.652 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/1.009, allocations: 0 / 0.584 GB, free: 6.652 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/1.009, allocations: 285.3 kB / 0.5843 GB, free: 6.336 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/1.009, allocations: 33.56 kB / 0.5843 GB, free: 6.297 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/1.009, allocations: 12.86 kB / 0.5843 GB, free: 6.281 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/1.009, allocations: 0 / 0.5843 GB, free: 6.281 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.009, allocations: 38.56 kB / 0.5844 GB, free: 6.234 MB / 402.8 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/1.009, allocations: 0 / 0.5844 GB, free: 6.234 MB / 402.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004909/1.01, allocations: 149.4 kB / 0.5845 GB, free: 6.082 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.01, allocations: 59.39 kB / 0.5846 GB, free: 6.012 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/1.01, allocations: 209.9 kB / 0.5848 GB, free: 5.797 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.01, allocations: 25.7 kB / 0.5848 GB, free: 5.766 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/1.01, allocations: 92.14 kB / 0.5849 GB, free: 5.672 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/1.01, allocations: 31.55 kB / 0.5849 GB, free: 5.641 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/1.01, allocations: 0 / 0.5849 GB, free: 5.641 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/1.01, allocations: 326.8 kB / 0.5852 GB, free: 5.312 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/1.01, allocations: 12 kB / 0.5852 GB, free: 5.301 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/1.01, allocations: 12 kB / 0.5853 GB, free: 5.289 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/1.01, allocations: 28.95 kB / 0.5853 GB, free: 5.262 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.01, allocations: 0 / 0.5853 GB, free: 5.262 MB / 402.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001273/1.01, allocations: 85.44 kB / 0.5854 GB, free: 5.172 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.01, allocations: 4 kB / 0.5854 GB, free: 5.168 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.01, allocations: 0 / 0.5854 GB, free: 5.168 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/1.011, allocations: 0 / 0.5854 GB, free: 5.168 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/1.011, allocations: 19.98 kB / 0.5854 GB, free: 5.148 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.011, allocations: 0 / 0.5854 GB, free: 5.148 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/1.011, allocations: 15.94 kB / 0.5854 GB, free: 5.133 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/1.011, allocations: 0 / 0.5854 GB, free: 5.133 MB / 402.8 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 6.543e-05/1.011, allocations: 105.8 kB / 0.5855 GB, free: 5.023 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/1.011, allocations: 15.81 kB / 0.5855 GB, free: 5.008 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/1.011, allocations: 99 kB / 0.5856 GB, free: 4.906 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.011, allocations: 0 / 0.5856 GB, free: 4.906 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.011, allocations: 4 kB / 0.5856 GB, free: 4.902 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.011, allocations: 0 / 0.5856 GB, free: 4.902 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/1.011, allocations: 383.9 kB / 0.586 GB, free: 4.48 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.011, allocations: 0 / 0.586 GB, free: 4.48 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/1.012, allocations: 23.92 kB / 0.586 GB, free: 4.457 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.012, allocations: 0 / 0.586 GB, free: 4.457 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.012, allocations: 4.031 kB / 0.586 GB, free: 4.453 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.012, allocations: 4 kB / 0.586 GB, free: 4.449 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.012, allocations: 3.984 kB / 0.586 GB, free: 4.445 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001669/1.012, allocations: 201.8 kB / 0.5862 GB, free: 4.223 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002568/1.012, allocations: 0.5609 MB / 0.5868 GB, free: 3.633 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/1.012, allocations: 96.91 kB / 0.5868 GB, free: 3.52 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/1.012, allocations: 0 / 0.5868 GB, free: 3.52 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/1.012, allocations: 7.984 kB / 0.5869 GB, free: 3.508 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/1.012, allocations: 8 kB / 0.5869 GB, free: 3.5 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/1.012, allocations: 8 kB / 0.5869 GB, free: 3.492 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.000145/1.012, allocations: 167.2 kB / 0.587 GB, free: 3.328 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.000903/1.013, allocations: 28 kB / 0.5871 GB, free: 3.301 MB / 402.8 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.0007101/1.014, allocations: 348.5 kB / 0.5874 GB, free: 3.051 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001146/1.014, allocations: 48.2 kB / 0.5874 GB, free: 3.004 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.014, allocations: 0 / 0.5874 GB, free: 3.004 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/1.014, allocations: 27.94 kB / 0.5875 GB, free: 2.977 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.015, allocations: 12.09 kB / 0.5875 GB, free: 2.961 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/1.015, allocations: 212.1 kB / 0.5877 GB, free: 2.727 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.015, allocations: 0.7349 MB / 0.5884 GB, free: 1.965 MB / 402.8 MB Notification: Performance of SimCode: time 2.5e-07/1.015, allocations: 0 / 0.5884 GB, free: 1.965 MB / 402.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat