Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001421/0.001421, allocations: 174.8 kB / 8.518 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.346/1.346, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.00102/0.00102, allocations: 92.66 kB / 281.2 MB, free: 5.449 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.2007/0.2007, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2591/0.4598, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.5878, allocations: 61.92 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2826/0.8704, allocations: 87.59 MB / 0.5797 GB, free: 9.195 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.8706, allocations: 67.97 kB / 0.5798 GB, free: 9.129 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01768/0.8883, allocations: 6.336 MB / 0.586 GB, free: 2.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8884, allocations: 15.94 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.8884, allocations: 3.906 kB / 0.586 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.8887, allocations: 190.9 kB / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.8887, allocations: 0 / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.8887, allocations: 0 / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.609e-05/0.8888, allocations: 16 kB / 0.5862 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.8889, allocations: 63.31 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8889, allocations: 0 / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.8889, allocations: 4 kB / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.889, allocations: 0 / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.8894, allocations: 257.4 kB / 0.5865 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.8896, allocations: 37.64 kB / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.8896, allocations: 16.86 kB / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.8897, allocations: 0 / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.8897, allocations: 34.56 kB / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8897, allocations: 0 / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004144/0.8901, allocations: 101.5 kB / 0.5867 GB, free: 1.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.8902, allocations: 85.02 kB / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8903, allocations: 121 kB / 0.5869 GB, free: 1.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.8903, allocations: 25.7 kB / 0.5869 GB, free: 1.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.8903, allocations: 92.12 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.8904, allocations: 11.75 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.8904, allocations: 3.938 kB / 0.587 GB, free: 1.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8905, allocations: 322.8 kB / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.8905, allocations: 8 kB / 0.5873 GB, free: 1.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.8906, allocations: 25.72 kB / 0.5873 GB, free: 1.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.8906, allocations: 15.98 kB / 0.5874 GB, free: 1.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8906, allocations: 3.938 kB / 0.5874 GB, free: 1.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001546/0.8908, allocations: 69.59 kB / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8908, allocations: 6.5 kB / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8908, allocations: 0 / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8908, allocations: 3.906 kB / 0.5874 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.8909, allocations: 19.92 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8909, allocations: 8.031 kB / 0.5875 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.891, allocations: 4 kB / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.891, allocations: 0 / 0.5875 GB, free: 1.062 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 (5): * Single equations (assignments): 5 * 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.976e-05/0.8911, allocations: 105 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.8911, allocations: 3.906 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.8913, allocations: 77.72 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8913, allocations: 4 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8913, allocations: 4 kB / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8913, allocations: 0 / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.8916, allocations: 319.3 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8916, allocations: 4.062 kB / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.8918, allocations: 15.98 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8918, allocations: 0 / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.8918, allocations: 144 / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8918, allocations: 4 kB / 0.588 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8918, allocations: 3.906 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001757/0.892, allocations: 163.4 kB / 0.5881 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000292/0.8923, allocations: 0.5352 MB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.8924, allocations: 85 kB / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.8924, allocations: 4 kB / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.8925, allocations: 11.98 kB / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.8925, allocations: 0 / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.8925, allocations: 4 kB / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.643e-05/0.8926, allocations: 105.5 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009916/0.8936, allocations: 35.84 kB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008213/0.8944, allocations: 343.5 kB / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.8946, allocations: 35.98 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8946, allocations: 0 / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.8946, allocations: 20 kB / 0.5893 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.8948, allocations: 12.8 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.8952, allocations: 99.75 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.8956, allocations: 0.7075 MB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.8956, allocations: 0 / 0.5901 GB, free: 14.3 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat does not exist to compare? outputFormat=mat