Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001864/0.001864, allocations: 180 kB / 8.518 MB, free: 1.852 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.76/1.76, allocations: 221.4 MB / 230.3 MB, free: 7.629 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.001083/0.001083, allocations: 90.42 kB / 281.2 MB, free: 5.453 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.2025/0.2025, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2801/0.4826, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.6272, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/1.013, allocations: 87.35 MB / 0.5795 GB, free: 9.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.013, allocations: 70.84 kB / 0.5795 GB, free: 9.328 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.01264/1.026, allocations: 4.415 MB / 0.5839 GB, free: 4.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.538e-05/1.026, allocations: 11.94 kB / 0.5839 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/1.026, allocations: 15.81 kB / 0.5839 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/1.027, allocations: 214.7 kB / 0.5841 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/1.027, allocations: 4 kB / 0.5841 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/1.027, allocations: 4 kB / 0.5841 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.177e-05/1.027, allocations: 16 kB / 0.5841 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/1.027, allocations: 45.69 kB / 0.5842 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.027, allocations: 4 kB / 0.5842 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.027, allocations: 0 / 0.5842 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/1.027, allocations: 0 / 0.5842 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/1.027, allocations: 297.2 kB / 0.5844 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/1.027, allocations: 37.61 kB / 0.5845 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/1.028, allocations: 16.86 kB / 0.5845 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/1.028, allocations: 0 / 0.5845 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/1.028, allocations: 30.56 kB / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/1.028, allocations: 0 / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006603/1.028, allocations: 169.1 kB / 0.5847 GB, free: 3.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/1.028, allocations: 51.41 kB / 0.5847 GB, free: 3.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/1.029, allocations: 209.9 kB / 0.5849 GB, free: 3.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/1.029, allocations: 25.7 kB / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/1.029, allocations: 96.12 kB / 0.5851 GB, free: 3.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/1.029, allocations: 31.55 kB / 0.5851 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/1.029, allocations: 0 / 0.5851 GB, free: 3.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/1.029, allocations: 322.8 kB / 0.5854 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/1.029, allocations: 24.75 kB / 0.5854 GB, free: 3.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/1.029, allocations: 16 kB / 0.5854 GB, free: 3.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/1.029, allocations: 24.22 kB / 0.5855 GB, free: 3.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.029, allocations: 4 kB / 0.5855 GB, free: 3.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001514/1.029, allocations: 101.5 kB / 0.5856 GB, free: 2.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.029, allocations: 4 kB / 0.5856 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.029, allocations: 0 / 0.5856 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.029, allocations: 0 / 0.5856 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.029, allocations: 23.92 kB / 0.5856 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/1.029, allocations: 4 kB / 0.5856 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/1.029, allocations: 8 kB / 0.5856 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/1.029, allocations: 0 / 0.5856 GB, free: 2.953 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 0.0001142/1.03, allocations: 112.9 kB / 0.5857 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/1.03, allocations: 15.81 kB / 0.5857 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/1.03, allocations: 111 kB / 0.5858 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.03, allocations: 4 kB / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.03, allocations: 0 / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.03, allocations: 0 / 0.5858 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/1.03, allocations: 391.9 kB / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.03, allocations: 7.938 kB / 0.5862 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/1.031, allocations: 19.98 kB / 0.5862 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.031, allocations: 4.031 kB / 0.5862 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/1.031, allocations: 0 / 0.5862 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.031, allocations: 80 / 0.5862 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/1.031, allocations: 7.984 kB / 0.5862 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000199/1.031, allocations: 209.8 kB / 0.5864 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002589/1.031, allocations: 0.5765 MB / 0.587 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/1.031, allocations: 97.19 kB / 0.5871 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/1.031, allocations: 4 kB / 0.5871 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/1.031, allocations: 11.98 kB / 0.5871 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/1.031, allocations: 11.98 kB / 0.5871 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/1.031, allocations: 4 kB / 0.5871 GB, free: 1.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001543/1.031, allocations: 171.2 kB / 0.5873 GB, free: 1.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008378/1.032, allocations: 28 kB / 0.5873 GB, free: 1.055 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.0007558/1.033, allocations: 332.1 kB / 0.5876 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/1.033, allocations: 55.98 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.033, allocations: 0 / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/1.033, allocations: 32.23 kB / 0.5877 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/1.034, allocations: 17.05 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/1.034, allocations: 224.2 kB / 0.5879 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/1.034, allocations: 0.7426 MB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/1.034, allocations: 0 / 0.5887 GB, free: 15.7 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat does not exist to compare? outputFormat=mat