Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 221.4 MB / 230.3 MB, free: 7.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 99.66 kB / 281.2 MB, free: 5.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1966/0.1966, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2817/0.4783, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.6171, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.9991, allocations: 87.35 MB / 0.5795 GB, free: 9.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.9994, allocations: 70.84 kB / 0.5796 GB, free: 9.324 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.01161/1.011, allocations: 4.53 MB / 0.584 GB, free: 4.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.011, allocations: 12.69 kB / 0.584 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/1.011, allocations: 15.81 kB / 0.584 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/1.011, allocations: 214.5 kB / 0.5842 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/1.011, allocations: 0 / 0.5842 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/1.011, allocations: 4 kB / 0.5842 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.333e-05/1.012, allocations: 16 kB / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/1.012, allocations: 45.59 kB / 0.5843 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.012, allocations: 3.938 kB / 0.5843 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.012, allocations: 7.922 kB / 0.5843 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.012, allocations: 8 kB / 0.5843 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/1.012, allocations: 289.3 kB / 0.5846 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/1.012, allocations: 37.7 kB / 0.5846 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/1.012, allocations: 12.8 kB / 0.5846 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/1.012, allocations: 4 kB / 0.5846 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.012, allocations: 30.56 kB / 0.5846 GB, free: 3.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/1.012, allocations: 4 kB / 0.5846 GB, free: 3.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/1.013, allocations: 173.1 kB / 0.5848 GB, free: 3.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/1.013, allocations: 55.41 kB / 0.5849 GB, free: 3.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/1.013, allocations: 229.5 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.013, allocations: 25.7 kB / 0.5851 GB, free: 3.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/1.013, allocations: 100.1 kB / 0.5852 GB, free: 3.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/1.014, allocations: 23.55 kB / 0.5852 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.014, allocations: 0 / 0.5852 GB, free: 3.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/1.014, allocations: 330.8 kB / 0.5855 GB, free: 3.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/1.014, allocations: 16 kB / 0.5856 GB, free: 2.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/1.014, allocations: 24.05 kB / 0.5856 GB, free: 2.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/1.014, allocations: 27.94 kB / 0.5856 GB, free: 2.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.014, allocations: 0 / 0.5856 GB, free: 2.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001414/1.014, allocations: 97.48 kB / 0.5857 GB, free: 2.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.014, allocations: 4 kB / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.014, allocations: 0 / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.014, allocations: 0 / 0.5857 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.014, allocations: 19.98 kB / 0.5857 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.014, allocations: 0 / 0.5857 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/1.014, allocations: 19.89 kB / 0.5857 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.014, allocations: 0 / 0.5857 GB, free: 2.801 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 7.762e-05/1.014, allocations: 101 kB / 0.5858 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/1.014, allocations: 19.75 kB / 0.5859 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/1.015, allocations: 111.3 kB / 0.586 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.015, allocations: 0 / 0.586 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.015, allocations: 4 kB / 0.586 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.015, allocations: 4 kB / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/1.015, allocations: 407.8 kB / 0.5864 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.015, allocations: 4 kB / 0.5864 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/1.015, allocations: 19.98 kB / 0.5864 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.015, allocations: 3.938 kB / 0.5864 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.015, allocations: 11.94 kB / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.015, allocations: 0 / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.015, allocations: 0 / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001696/1.015, allocations: 205.8 kB / 0.5866 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003046/1.016, allocations: 0.5842 MB / 0.5872 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/1.016, allocations: 93 kB / 0.5873 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/1.016, allocations: 7.906 kB / 0.5873 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/1.016, allocations: 8 kB / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.016, allocations: 7.984 kB / 0.5873 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.016, allocations: 4 kB / 0.5873 GB, free: 1.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001723/1.016, allocations: 192.3 kB / 0.5875 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009417/1.017, allocations: 39.92 kB / 0.5875 GB, free: 0.8633 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.0006656/1.018, allocations: 338 kB / 0.5878 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/1.018, allocations: 47.98 kB / 0.5879 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.018, allocations: 4 kB / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/1.018, allocations: 31.92 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/1.018, allocations: 20.11 kB / 0.5879 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/1.019, allocations: 244.1 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.019, allocations: 0.7426 MB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/1.019, allocations: 0 / 0.5889 GB, free: 15.48 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat does not exist to compare? outputFormat=mat