Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001537/0.001537, allocations: 178.2 kB / 8.519 MB, free: 1.82 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.445/1.445, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.0008893/0.0008893, allocations: 83.38 kB / 281.2 MB, free: 5.516 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.1719/0.1719, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2319/0.4038, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.5307, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.8525, allocations: 87.35 MB / 0.5795 GB, free: 9.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.8528, allocations: 77.69 kB / 0.5795 GB, free: 9.273 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.01071/0.8635, allocations: 4.214 MB / 0.5837 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8635, allocations: 11.94 kB / 0.5837 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.8636, allocations: 15.91 kB / 0.5837 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.8638, allocations: 196.6 kB / 0.5839 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.8638, allocations: 4 kB / 0.5839 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.8639, allocations: 0 / 0.5839 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.82e-05/0.8639, allocations: 20 kB / 0.5839 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.404e-05/0.864, allocations: 41.69 kB / 0.5839 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.864, allocations: 7.984 kB / 0.5839 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.8641, allocations: 0 / 0.5839 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.8641, allocations: 0 / 0.5839 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.8644, allocations: 293.2 kB / 0.5842 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.8645, allocations: 33.66 kB / 0.5843 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.8645, allocations: 12.86 kB / 0.5843 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.8646, allocations: 3.906 kB / 0.5843 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.8646, allocations: 34.56 kB / 0.5843 GB, free: 4.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.8646, allocations: 0 / 0.5843 GB, free: 4.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005028/0.8651, allocations: 157.3 kB / 0.5845 GB, free: 4.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.8652, allocations: 55.41 kB / 0.5845 GB, free: 4.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.8653, allocations: 163.6 kB / 0.5847 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.8653, allocations: 25.7 kB / 0.5847 GB, free: 3.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.8654, allocations: 96.06 kB / 0.5848 GB, free: 3.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.8654, allocations: 27.61 kB / 0.5848 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.8654, allocations: 4 kB / 0.5848 GB, free: 3.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8655, allocations: 322.8 kB / 0.5851 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.8656, allocations: 16 kB / 0.5851 GB, free: 3.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.8656, allocations: 16 kB / 0.5852 GB, free: 3.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.8657, allocations: 24.83 kB / 0.5852 GB, free: 3.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.8657, allocations: 0 / 0.5852 GB, free: 3.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001339/0.8658, allocations: 97.55 kB / 0.5853 GB, free: 3.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.8658, allocations: 11.94 kB / 0.5853 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8659, allocations: 0 / 0.5853 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8659, allocations: 0 / 0.5853 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.866, allocations: 23.98 kB / 0.5853 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.866, allocations: 0 / 0.5853 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.8661, allocations: 4 kB / 0.5853 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.8661, allocations: 7.938 kB / 0.5853 GB, free: 3.188 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.204e-05/0.8661, allocations: 101 kB / 0.5854 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.8662, allocations: 19.8 kB / 0.5854 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.8664, allocations: 110.4 kB / 0.5855 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8664, allocations: 3.984 kB / 0.5855 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8664, allocations: 0 / 0.5855 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8664, allocations: 0 / 0.5855 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.8668, allocations: 383.7 kB / 0.5859 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8668, allocations: 0 / 0.5859 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.8669, allocations: 27.95 kB / 0.5859 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.8669, allocations: 7.906 kB / 0.5859 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8669, allocations: 0 / 0.5859 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8669, allocations: 0 / 0.5859 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8669, allocations: 0 / 0.5859 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000162/0.8671, allocations: 201.9 kB / 0.5861 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002874/0.8674, allocations: 0.5764 MB / 0.5867 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.8675, allocations: 97 kB / 0.5868 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.8675, allocations: 4 kB / 0.5868 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.8676, allocations: 8 kB / 0.5868 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.8676, allocations: 7.984 kB / 0.5868 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8677, allocations: 4 kB / 0.5868 GB, free: 1.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001102/0.8678, allocations: 145.8 kB / 0.587 GB, free: 1.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008192/0.8686, allocations: 24 kB / 0.587 GB, free: 1.355 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.0007408/0.8693, allocations: 348.1 kB / 0.5873 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.8695, allocations: 51.98 kB / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8695, allocations: 0 / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.8696, allocations: 27.94 kB / 0.5874 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.8698, allocations: 11.98 kB / 0.5874 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.8702, allocations: 183.9 kB / 0.5876 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.8705, allocations: 0.7231 MB / 0.5883 GB, free: 52 kB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8705, allocations: 0 / 0.5883 GB, free: 52 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat does not exist to compare? outputFormat=mat