Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001498/0.001498, allocations: 180.8 kB / 8.519 MB, free: 1.824 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.367/1.367, allocations: 221.4 MB / 230.3 MB, free: 3.023 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.001006/0.001007, allocations: 96.7 kB / 281.2 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3994/0.3994, allocations: 44.14 MB / 376.1 MB, free: 43.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1557/0.5552, allocations: 68.04 MB / 444.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.9578, allocations: 61.91 MB / 0.4942 GB, free: 42.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/1.083, allocations: 87.35 MB / 0.5795 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.084, allocations: 75.95 kB / 0.5796 GB, free: 13.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01264/1.096, allocations: 4.671 MB / 0.5841 GB, free: 9.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.096, allocations: 8 kB / 0.5841 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/1.096, allocations: 19.75 kB / 0.5841 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/1.097, allocations: 208 kB / 0.5843 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.097, allocations: 4 kB / 0.5843 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/1.097, allocations: 4 kB / 0.5843 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/1.097, allocations: 31.98 kB / 0.5844 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.097, allocations: 53.69 kB / 0.5844 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.097, allocations: 4 kB / 0.5844 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.097, allocations: 3.984 kB / 0.5844 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.097, allocations: 7.906 kB / 0.5844 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/1.097, allocations: 301.3 kB / 0.5847 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/1.098, allocations: 41.7 kB / 0.5848 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/1.098, allocations: 24.8 kB / 0.5848 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/1.098, allocations: 4 kB / 0.5848 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.098, allocations: 30.56 kB / 0.5848 GB, free: 8.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.098, allocations: 0 / 0.5848 GB, free: 8.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006644/1.098, allocations: 212.9 kB / 0.585 GB, free: 8.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.098, allocations: 55.52 kB / 0.5851 GB, free: 8.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/1.099, allocations: 209.4 kB / 0.5853 GB, free: 7.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.099, allocations: 25.7 kB / 0.5853 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/1.099, allocations: 96.03 kB / 0.5854 GB, free: 7.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/1.099, allocations: 43.3 kB / 0.5854 GB, free: 7.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.099, allocations: 0 / 0.5854 GB, free: 7.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/1.099, allocations: 326.8 kB / 0.5858 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/1.099, allocations: 24 kB / 0.5858 GB, free: 7.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.04e-05/1.099, allocations: 24 kB / 0.5858 GB, free: 7.336 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/1.099, allocations: 35.92 kB / 0.5858 GB, free: 7.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/1.099, allocations: 0 / 0.5858 GB, free: 7.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001751/1.099, allocations: 109.5 kB / 0.5859 GB, free: 7.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.099, allocations: 4 kB / 0.5859 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.099, allocations: 0 / 0.5859 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.099, allocations: 4 kB / 0.5859 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.1, allocations: 23.98 kB / 0.586 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.1, allocations: 7.984 kB / 0.586 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/1.1, allocations: 8 kB / 0.586 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/1.1, allocations: 4 kB / 0.586 GB, free: 7.137 MB / 410.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 6.935e-05/1.1, allocations: 105.9 kB / 0.5861 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/1.1, allocations: 15.81 kB / 0.5861 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/1.1, allocations: 143 kB / 0.5862 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.1, allocations: 4 kB / 0.5862 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.1, allocations: 4 kB / 0.5862 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.1, allocations: 0 / 0.5862 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/1.101, allocations: 435.7 kB / 0.5867 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.101, allocations: 0 / 0.5867 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/1.101, allocations: 35.86 kB / 0.5867 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.101, allocations: 4 kB / 0.5867 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.101, allocations: 7.969 kB / 0.5867 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.101, allocations: 0 / 0.5867 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/1.101, allocations: 4 kB / 0.5867 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002475/1.101, allocations: 225.1 kB / 0.5869 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003019/1.101, allocations: 0.5959 MB / 0.5875 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/1.101, allocations: 93.02 kB / 0.5876 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/1.101, allocations: 7.891 kB / 0.5876 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/1.102, allocations: 12 kB / 0.5876 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.102, allocations: 15.92 kB / 0.5876 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/1.102, allocations: 4 kB / 0.5876 GB, free: 5.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001351/1.102, allocations: 162.2 kB / 0.5878 GB, free: 5.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009075/1.103, allocations: 39.92 kB / 0.5878 GB, free: 5.129 MB / 410.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.0007394/1.103, allocations: 340 kB / 0.5882 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/1.104, allocations: 68 kB / 0.5882 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.104, allocations: 0 / 0.5882 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/1.104, allocations: 43.92 kB / 0.5883 GB, free: 4.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/1.104, allocations: 15.91 kB / 0.5883 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/1.104, allocations: 229.4 kB / 0.5885 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/1.105, allocations: 0.7446 MB / 0.5892 GB, free: 3.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/1.105, allocations: 0 / 0.5892 GB, free: 3.75 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat