Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001131/0.001131, allocations: 176.5 kB / 8.519 MB, free: 1.844 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.191/1.191, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009975/0.0009975, allocations: 102.4 kB / 281.2 MB, free: 5.43 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.1893/0.1893, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1923/0.3816, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.4958, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.7581, allocations: 87.46 MB / 0.5796 GB, free: 9.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.7584, allocations: 71.97 kB / 0.5797 GB, free: 9.18 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.01212/0.7705, allocations: 4.725 MB / 0.5843 GB, free: 4.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.7706, allocations: 15.88 kB / 0.5843 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.7706, allocations: 11.81 kB / 0.5843 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.7708, allocations: 212 kB / 0.5845 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.7709, allocations: 8 kB / 0.5845 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.7709, allocations: 4 kB / 0.5845 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.271e-05/0.771, allocations: 31.98 kB / 0.5845 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.7711, allocations: 58.17 kB / 0.5846 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7711, allocations: 0 / 0.5846 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7711, allocations: 7.844 kB / 0.5846 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7711, allocations: 4 kB / 0.5846 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.7716, allocations: 321.3 kB / 0.5849 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/0.7716, allocations: 49.7 kB / 0.585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.7717, allocations: 16.86 kB / 0.585 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.7717, allocations: 3.906 kB / 0.585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.7717, allocations: 39.34 kB / 0.585 GB, free: 3.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7718, allocations: 4 kB / 0.585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006208/0.7724, allocations: 227.3 kB / 0.5852 GB, free: 3.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7724, allocations: 51.41 kB / 0.5853 GB, free: 3.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.7726, allocations: 213.2 kB / 0.5855 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.7727, allocations: 25.7 kB / 0.5855 GB, free: 3.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.7727, allocations: 104.1 kB / 0.5856 GB, free: 2.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.7727, allocations: 43.3 kB / 0.5857 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.7728, allocations: 0 / 0.5857 GB, free: 2.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.7729, allocations: 330.8 kB / 0.586 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.7729, allocations: 40.11 kB / 0.586 GB, free: 2.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.773, allocations: 32 kB / 0.586 GB, free: 2.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.7731, allocations: 39.97 kB / 0.5861 GB, free: 2.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.7731, allocations: 0 / 0.5861 GB, free: 2.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001829/0.7733, allocations: 123.6 kB / 0.5862 GB, free: 2.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.7733, allocations: 12 kB / 0.5862 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7733, allocations: 3.938 kB / 0.5862 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.7733, allocations: 0 / 0.5862 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.7735, allocations: 39.91 kB / 0.5863 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7735, allocations: 0 / 0.5863 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.7735, allocations: 7.906 kB / 0.5863 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.7735, allocations: 12.08 kB / 0.5863 GB, free: 2.23 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 5.898e-05/0.7736, allocations: 101 kB / 0.5864 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.7737, allocations: 15.81 kB / 0.5864 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.7739, allocations: 167.1 kB / 0.5865 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7739, allocations: 0 / 0.5865 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.774, allocations: 0 / 0.5865 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.774, allocations: 4 kB / 0.5865 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.7745, allocations: 467.6 kB / 0.587 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7745, allocations: 0 / 0.587 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7746, allocations: 27.98 kB / 0.587 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7746, allocations: 4 kB / 0.587 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.7746, allocations: 0 / 0.587 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.7746, allocations: 3.984 kB / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7746, allocations: 11.97 kB / 0.587 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002168/0.7749, allocations: 233.8 kB / 0.5873 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003184/0.7752, allocations: 0.6129 MB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.7753, allocations: 100.9 kB / 0.588 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.7753, allocations: 0 / 0.588 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.7754, allocations: 7.984 kB / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.7754, allocations: 11.98 kB / 0.588 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.7754, allocations: 4 kB / 0.588 GB, free: 360 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001275/0.7756, allocations: 164.2 kB / 0.5881 GB, free: 196 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008228/0.7764, allocations: 47.83 kB / 0.5882 GB, free: 148 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.0006317/0.7771, allocations: 334 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.7772, allocations: 91.92 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7772, allocations: 3.938 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.7773, allocations: 47.98 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.7775, allocations: 12.75 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.778, allocations: 240.1 kB / 0.5889 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.7783, allocations: 0.7505 MB / 0.5896 GB, free: 14.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7783, allocations: 0 / 0.5896 GB, free: 14.71 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat does not exist to compare? outputFormat=mat