Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.0009806/0.0009808, allocations: 178.6 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.255/1.255, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009882/0.0009882, allocations: 87.94 kB / 281.2 MB, free: 5.504 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.2045/0.2045, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2423/0.4468, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.5827, allocations: 61.92 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.938, allocations: 87.47 MB / 0.5796 GB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.9382, allocations: 75.95 kB / 0.5797 GB, free: 9.156 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01697/0.9552, allocations: 4.733 MB / 0.5843 GB, free: 4.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.9553, allocations: 15.94 kB / 0.5843 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.9553, allocations: 11.81 kB / 0.5843 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.9557, allocations: 219.9 kB / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.9557, allocations: 4 kB / 0.5845 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.9558, allocations: 4 kB / 0.5845 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/0.9559, allocations: 27.98 kB / 0.5846 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.9561, allocations: 58.81 kB / 0.5846 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.9561, allocations: 0 / 0.5846 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.9561, allocations: 3.906 kB / 0.5846 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.9561, allocations: 4 kB / 0.5846 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.9567, allocations: 321.2 kB / 0.5849 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.9569, allocations: 53.7 kB / 0.585 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.9569, allocations: 16.86 kB / 0.585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.957, allocations: 11.89 kB / 0.585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.957, allocations: 30.56 kB / 0.585 GB, free: 3.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.957, allocations: 3.938 kB / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008989/0.9579, allocations: 233.2 kB / 0.5853 GB, free: 3.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.958, allocations: 55.41 kB / 0.5853 GB, free: 3.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.9583, allocations: 209.2 kB / 0.5855 GB, free: 3.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.9583, allocations: 25.7 kB / 0.5855 GB, free: 2.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.9584, allocations: 96.06 kB / 0.5856 GB, free: 2.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.9585, allocations: 47.36 kB / 0.5857 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.9585, allocations: 0 / 0.5857 GB, free: 2.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9586, allocations: 322.8 kB / 0.586 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.9587, allocations: 40.95 kB / 0.586 GB, free: 2.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.9588, allocations: 41.05 kB / 0.5861 GB, free: 2.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.9589, allocations: 39.98 kB / 0.5861 GB, free: 2.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.9589, allocations: 0 / 0.5861 GB, free: 2.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002982/0.9592, allocations: 130.2 kB / 0.5862 GB, free: 2.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.9593, allocations: 4 kB / 0.5862 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9593, allocations: 3.938 kB / 0.5862 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9593, allocations: 4 kB / 0.5862 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.9595, allocations: 23.98 kB / 0.5863 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.9595, allocations: 7.938 kB / 0.5863 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.9596, allocations: 11.91 kB / 0.5863 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.9597, allocations: 7.984 kB / 0.5863 GB, free: 2.199 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 (13): * Single equations (assignments): 13 * 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 9.017e-05/0.9598, allocations: 104.9 kB / 0.5864 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.9599, allocations: 15.81 kB / 0.5864 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.9603, allocations: 166.2 kB / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.9603, allocations: 4 kB / 0.5866 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9603, allocations: 0 / 0.5866 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.9603, allocations: 3.984 kB / 0.5866 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.9612, allocations: 463.6 kB / 0.587 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.9612, allocations: 4 kB / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.9614, allocations: 32.02 kB / 0.5871 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9614, allocations: 0 / 0.5871 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.9614, allocations: 4 kB / 0.5871 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9614, allocations: 0 / 0.5871 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.9614, allocations: 3.938 kB / 0.5871 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003471/0.9618, allocations: 245.8 kB / 0.5873 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004597/0.9623, allocations: 0.6077 MB / 0.5879 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.9624, allocations: 96.92 kB / 0.588 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.9624, allocations: 7.984 kB / 0.588 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.9626, allocations: 8 kB / 0.588 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.9626, allocations: 7.984 kB / 0.588 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.9627, allocations: 4 kB / 0.588 GB, free: 324 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002017/0.9629, allocations: 160.2 kB / 0.5882 GB, free: 164 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001627/0.9645, allocations: 43.83 kB / 0.5882 GB, free: 120 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 (13): * Single equations (assignments): 13 * 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.02068/0.9852, allocations: 343.8 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.9856, allocations: 83.98 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.9856, allocations: 0 / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.9858, allocations: 51.83 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.9862, allocations: 24.52 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.987, allocations: 240.2 kB / 0.5889 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.9876, allocations: 0.7426 MB / 0.5896 GB, free: 14.67 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.9876, allocations: 0 / 0.5896 GB, free: 14.67 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat does not exist to compare? outputFormat=mat