Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001093/0.001093, allocations: 173.7 kB / 8.515 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.367/1.367, 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.0009182/0.0009182, allocations: 95.97 kB / 281.2 MB, free: 5.422 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.2062/0.2062, allocations: 44.14 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2684/0.4747, allocations: 68.03 MB / 444.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.6184, allocations: 61.92 MB / 0.4942 GB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/1.023, allocations: 87.31 MB / 0.5794 GB, free: 9.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/1.024, allocations: 67.97 kB / 0.5795 GB, free: 9.262 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0105/1.034, allocations: 3.729 MB / 0.5832 GB, free: 5.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.034, allocations: 11.94 kB / 0.5832 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/1.034, allocations: 7.906 kB / 0.5832 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/1.034, allocations: 190.9 kB / 0.5834 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/1.035, allocations: 0 / 0.5834 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/1.035, allocations: 8 kB / 0.5834 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.281e-05/1.035, allocations: 15.91 kB / 0.5834 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.443e-05/1.035, allocations: 51.41 kB / 0.5834 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.035, allocations: 4 kB / 0.5834 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/1.035, allocations: 0 / 0.5834 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.035, allocations: 0 / 0.5834 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/1.035, allocations: 269.4 kB / 0.5837 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/1.035, allocations: 37.7 kB / 0.5837 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/1.035, allocations: 20.86 kB / 0.5837 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/1.035, allocations: 0 / 0.5837 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.035, allocations: 30.56 kB / 0.5838 GB, free: 4.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/1.035, allocations: 4 kB / 0.5838 GB, free: 4.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004649/1.036, allocations: 137.5 kB / 0.5839 GB, free: 4.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.036, allocations: 77.11 kB / 0.584 GB, free: 4.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/1.036, allocations: 121 kB / 0.5841 GB, free: 4.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/1.036, allocations: 26.45 kB / 0.5841 GB, free: 4.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/1.036, allocations: 88.08 kB / 0.5842 GB, free: 4.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/1.036, allocations: 27.64 kB / 0.5842 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/1.036, allocations: 0 / 0.5842 GB, free: 4.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/1.036, allocations: 322.8 kB / 0.5845 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/1.036, allocations: 19.98 kB / 0.5846 GB, free: 3.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/1.036, allocations: 37.77 kB / 0.5846 GB, free: 3.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/1.036, allocations: 27.89 kB / 0.5846 GB, free: 3.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/1.036, allocations: 3.938 kB / 0.5846 GB, free: 3.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001319/1.037, allocations: 85.53 kB / 0.5847 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.037, allocations: 9.125 kB / 0.5847 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.037, allocations: 3.984 kB / 0.5847 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.037, allocations: 0 / 0.5847 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.037, allocations: 19.98 kB / 0.5847 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.037, allocations: 0 / 0.5847 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/1.037, allocations: 11.98 kB / 0.5847 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.037, allocations: 0 / 0.5847 GB, free: 3.707 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 7.418e-05/1.037, allocations: 105 kB / 0.5848 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/1.037, allocations: 7.906 kB / 0.5849 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/1.037, allocations: 97.88 kB / 0.5849 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.037, allocations: 4 kB / 0.585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.037, allocations: 0 / 0.585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.037, allocations: 4 kB / 0.585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/1.038, allocations: 351 kB / 0.5853 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.038, allocations: 0 / 0.5853 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/1.038, allocations: 15.98 kB / 0.5853 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.038, allocations: 0 / 0.5853 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.038, allocations: 4 kB / 0.5853 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.038, allocations: 400 / 0.5853 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.038, allocations: 0 / 0.5853 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001683/1.038, allocations: 183.3 kB / 0.5855 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002679/1.038, allocations: 0.5428 MB / 0.586 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/1.038, allocations: 89 kB / 0.5861 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/1.038, allocations: 4 kB / 0.5861 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/1.038, allocations: 8 kB / 0.5861 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/1.038, allocations: 7.984 kB / 0.5861 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.038, allocations: 0 / 0.5861 GB, free: 2.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.439e-05/1.038, allocations: 114.1 kB / 0.5862 GB, free: 2.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000909/1.039, allocations: 32 kB / 0.5863 GB, free: 2.047 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0007861/1.04, allocations: 339.6 kB / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/1.04, allocations: 55.91 kB / 0.5866 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.04, allocations: 0 / 0.5866 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/1.04, allocations: 27.98 kB / 0.5867 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/1.041, allocations: 8 kB / 0.5867 GB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/1.041, allocations: 131.3 kB / 0.5868 GB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.041, allocations: 0.7114 MB / 0.5875 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/1.041, allocations: 0 / 0.5875 GB, free: 0.8125 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat does not exist to compare? outputFormat=mat