Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001184/0.001184, allocations: 178.3 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.361/1.361, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.0009843/0.0009844, allocations: 80.75 kB / 281.2 MB, free: 5.48 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.1754/0.1754, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2204/0.3959, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.559, allocations: 61.9 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.8859, allocations: 87.35 MB / 0.5795 GB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.8862, allocations: 73.47 kB / 0.5795 GB, free: 9.359 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.01098/0.8972, allocations: 4.419 MB / 0.5839 GB, free: 4.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.8973, allocations: 11.94 kB / 0.5839 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.8973, allocations: 15.81 kB / 0.5839 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.8976, allocations: 214.7 kB / 0.5841 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.8976, allocations: 4 kB / 0.5841 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.8976, allocations: 0 / 0.5841 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.514e-05/0.8977, allocations: 16 kB / 0.5841 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.89e-05/0.8978, allocations: 45.67 kB / 0.5842 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8978, allocations: 4 kB / 0.5842 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.8978, allocations: 0 / 0.5842 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8978, allocations: 4 kB / 0.5842 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.8982, allocations: 285.3 kB / 0.5844 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.8983, allocations: 49.48 kB / 0.5845 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.8983, allocations: 8.859 kB / 0.5845 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.8984, allocations: 8 kB / 0.5845 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.8984, allocations: 30.56 kB / 0.5845 GB, free: 4.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8984, allocations: 0 / 0.5845 GB, free: 4.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004948/0.8989, allocations: 165.2 kB / 0.5847 GB, free: 3.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.8989, allocations: 51.41 kB / 0.5847 GB, free: 3.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.8991, allocations: 213.9 kB / 0.5849 GB, free: 3.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.8992, allocations: 25.7 kB / 0.585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.8992, allocations: 92.12 kB / 0.5851 GB, free: 3.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.8992, allocations: 31.55 kB / 0.5851 GB, free: 3.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.8992, allocations: 0 / 0.5851 GB, free: 3.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.8993, allocations: 326.8 kB / 0.5854 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.8994, allocations: 20 kB / 0.5854 GB, free: 3.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.8994, allocations: 20 kB / 0.5854 GB, free: 3.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.8994, allocations: 23.98 kB / 0.5855 GB, free: 3.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.8995, allocations: 0 / 0.5855 GB, free: 3.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001319/0.8996, allocations: 93.48 kB / 0.5855 GB, free: 3.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.8996, allocations: 4 kB / 0.5855 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8996, allocations: 4 kB / 0.5856 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8996, allocations: 0 / 0.5856 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.8998, allocations: 27.92 kB / 0.5856 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.8998, allocations: 320 / 0.5856 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.8998, allocations: 4 kB / 0.5856 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.8998, allocations: 4 kB / 0.5856 GB, free: 2.988 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 6.233e-05/0.8999, allocations: 108.9 kB / 0.5857 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.8999, allocations: 11.81 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.9002, allocations: 115 kB / 0.5858 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9002, allocations: 7.938 kB / 0.5858 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9002, allocations: 3.938 kB / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9002, allocations: 0 / 0.5858 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.9006, allocations: 391.8 kB / 0.5862 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9006, allocations: 0 / 0.5862 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.9007, allocations: 31.89 kB / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9007, allocations: 0 / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.9007, allocations: 4 kB / 0.5862 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9007, allocations: 0 / 0.5862 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9008, allocations: 0 / 0.5862 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001626/0.9009, allocations: 206 kB / 0.5864 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002845/0.9012, allocations: 0.5842 MB / 0.587 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.9013, allocations: 100.9 kB / 0.5871 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.9013, allocations: 4 kB / 0.5871 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.9014, allocations: 15.98 kB / 0.5871 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.9015, allocations: 0 / 0.5871 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.9015, allocations: 4 kB / 0.5871 GB, free: 1.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001278/0.9016, allocations: 171.2 kB / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008227/0.9024, allocations: 28 kB / 0.5873 GB, free: 1.094 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.0006857/0.9031, allocations: 336.6 kB / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.9033, allocations: 55.92 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9033, allocations: 0 / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.9033, allocations: 35.92 kB / 0.5877 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.9036, allocations: 16.09 kB / 0.5877 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.904, allocations: 224.2 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.9043, allocations: 0.7348 MB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9043, allocations: 4 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat does not exist to compare? outputFormat=mat