Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001328/0.001328, allocations: 179 kB / 8.519 MB, free: 1.832 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.37/1.37, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0009807/0.0009808, allocations: 91.98 kB / 281.2 MB, free: 5.488 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.1842/0.1842, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2572/0.4415, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.5705, allocations: 61.91 MB / 0.4942 GB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.9535, allocations: 88.2 MB / 0.5803 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/0.954, allocations: 76.02 kB / 0.5804 GB, free: 8.516 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.01297/0.967, allocations: 4.751 MB / 0.585 GB, free: 3.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.967, allocations: 15.94 kB / 0.585 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.9671, allocations: 11.91 kB / 0.585 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.9674, allocations: 214.7 kB / 0.5853 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.9674, allocations: 0 / 0.5853 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.9674, allocations: 4 kB / 0.5853 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.537e-05/0.9675, allocations: 20 kB / 0.5853 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.9676, allocations: 53.62 kB / 0.5853 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.9677, allocations: 0 / 0.5853 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9677, allocations: 3.984 kB / 0.5853 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.9677, allocations: 3.906 kB / 0.5853 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.9682, allocations: 305.3 kB / 0.5856 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.9684, allocations: 45.69 kB / 0.5857 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.9684, allocations: 20.97 kB / 0.5857 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.9685, allocations: 0 / 0.5857 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.9685, allocations: 30.56 kB / 0.5857 GB, free: 2.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.9685, allocations: 0 / 0.5857 GB, free: 2.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000727/0.9692, allocations: 229.1 kB / 0.5859 GB, free: 2.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.9693, allocations: 59.33 kB / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.9695, allocations: 169.4 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.9695, allocations: 25.7 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.9696, allocations: 99.97 kB / 0.5863 GB, free: 2.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.9696, allocations: 39.45 kB / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.9696, allocations: 0 / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9698, allocations: 322.8 kB / 0.5866 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.9698, allocations: 32 kB / 0.5866 GB, free: 1.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.9699, allocations: 37.23 kB / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.836e-05/0.97, allocations: 43.91 kB / 0.5867 GB, free: 1.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.97, allocations: 4 kB / 0.5867 GB, free: 1.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002108/0.9702, allocations: 125.4 kB / 0.5868 GB, free: 1.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9702, allocations: 4 kB / 0.5869 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9702, allocations: 4 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.9702, allocations: 4 kB / 0.5869 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.9704, allocations: 35.91 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9704, allocations: 3.984 kB / 0.5869 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.9705, allocations: 16.38 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.9705, allocations: 0 / 0.5869 GB, free: 1.625 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 (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 0.0001415/0.9707, allocations: 105 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.9707, allocations: 15.81 kB / 0.587 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.9711, allocations: 154.1 kB / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9711, allocations: 0 / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.9711, allocations: 4 kB / 0.5872 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.9711, allocations: 4 kB / 0.5872 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.9718, allocations: 452.5 kB / 0.5876 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.9718, allocations: 0 / 0.5876 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.972, allocations: 32.05 kB / 0.5876 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.972, allocations: 4 kB / 0.5876 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.972, allocations: 3.938 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.972, allocations: 4 kB / 0.5877 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.972, allocations: 0 / 0.5877 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003099/0.9723, allocations: 252.4 kB / 0.5879 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004954/0.9728, allocations: 0.6316 MB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.9729, allocations: 97 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.973, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.9731, allocations: 15.89 kB / 0.5886 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9732, allocations: 4 kB / 0.5886 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.9733, allocations: 7.984 kB / 0.5886 GB, free: 15.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001481/0.9734, allocations: 140.1 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009925/0.9744, allocations: 39.92 kB / 0.5888 GB, free: 15.53 MB / 410.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.0007789/0.9752, allocations: 342 kB / 0.5891 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.9754, allocations: 91.92 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9754, allocations: 0 / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.9755, allocations: 51.92 kB / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.9758, allocations: 20.58 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.9764, allocations: 224.9 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.977, allocations: 0.7427 MB / 0.5902 GB, free: 14.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.977, allocations: 0 / 0.5902 GB, free: 14.09 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat does not exist to compare? outputFormat=mat