Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001593/0.001593, allocations: 183.7 kB / 8.526 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.376/1.376, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.001211/0.001211, allocations: 90.11 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.1974/0.1974, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2597/0.4572, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.5842, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.8919, allocations: 88.2 MB / 0.5803 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.8921, allocations: 73.36 kB / 0.5804 GB, free: 8.566 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01285/0.905, allocations: 4.673 MB / 0.5849 GB, free: 3.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.905, allocations: 15.94 kB / 0.585 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.9051, allocations: 7.906 kB / 0.585 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.9054, allocations: 215.5 kB / 0.5852 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.9054, allocations: 0 / 0.5852 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.9055, allocations: 4 kB / 0.5852 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.799e-05/0.9056, allocations: 31.92 kB / 0.5852 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.9057, allocations: 45.69 kB / 0.5853 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.9057, allocations: 4 kB / 0.5853 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.9057, allocations: 0 / 0.5853 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.9057, allocations: 0 / 0.5853 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.9062, allocations: 309.2 kB / 0.5856 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.9064, allocations: 37.7 kB / 0.5856 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.9064, allocations: 16.98 kB / 0.5856 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.9065, allocations: 4 kB / 0.5856 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.9065, allocations: 30.56 kB / 0.5856 GB, free: 3.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.9065, allocations: 0 / 0.5856 GB, free: 3.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007003/0.9072, allocations: 241.1 kB / 0.5859 GB, free: 2.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.9073, allocations: 51.41 kB / 0.5859 GB, free: 2.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.9074, allocations: 169.3 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9075, allocations: 25.7 kB / 0.5861 GB, free: 2.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.9075, allocations: 92.05 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.9076, allocations: 31.55 kB / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.9076, allocations: 0 / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9077, allocations: 330.7 kB / 0.5865 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.9078, allocations: 39.92 kB / 0.5866 GB, free: 2.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.9079, allocations: 37.23 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.362e-05/0.9079, allocations: 39.98 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9079, allocations: 0 / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001813/0.9081, allocations: 121.5 kB / 0.5868 GB, free: 1.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.9082, allocations: 7.984 kB / 0.5868 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.9082, allocations: 0 / 0.5868 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.9082, allocations: 4 kB / 0.5868 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.9083, allocations: 40.2 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.9084, allocations: 0 / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.9084, allocations: 19.98 kB / 0.5868 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.9085, allocations: 7.938 kB / 0.5868 GB, free: 1.766 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 (11): * Single equations (assignments): 11 * 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.006e-05/0.9085, allocations: 101 kB / 0.5869 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.9086, allocations: 19.81 kB / 0.587 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.9089, allocations: 150.1 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9089, allocations: 0 / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9089, allocations: 0 / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9089, allocations: 3.984 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.9095, allocations: 444.6 kB / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.9095, allocations: 0 / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.9096, allocations: 31.92 kB / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9096, allocations: 3.906 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.9097, allocations: 8.062 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9097, allocations: 0 / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.9097, allocations: 3.984 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002542/0.9099, allocations: 254.5 kB / 0.5878 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004241/0.9104, allocations: 0.6181 MB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.9105, allocations: 100.9 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.9105, allocations: 0 / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.9107, allocations: 19.98 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.9107, allocations: 11.92 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.9107, allocations: 4 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001039/0.9108, allocations: 135.2 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009147/0.9118, allocations: 43.84 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007944/0.9126, allocations: 349.1 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.9128, allocations: 91.91 kB / 0.5891 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9128, allocations: 0 / 0.5891 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.9128, allocations: 51.94 kB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.9131, allocations: 14.02 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.9136, allocations: 217 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.914, allocations: 0.7348 MB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.914, allocations: 4.125 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat