Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001497/0.001497, allocations: 178.2 kB / 8.519 MB, free: 1.828 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.387/1.387, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.0008763/0.0008763, allocations: 92.72 kB / 281.2 MB, free: 5.477 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.1966/0.1966, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2445/0.4412, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.5761, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.934, allocations: 88.2 MB / 0.5803 GB, free: 8.547 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.9344, allocations: 71.72 kB / 0.5804 GB, free: 8.48 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.013/0.9474, allocations: 4.619 MB / 0.5849 GB, free: 3.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.9475, allocations: 15.94 kB / 0.5849 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.9475, allocations: 7.906 kB / 0.5849 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.9479, allocations: 203.3 kB / 0.5851 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.9479, allocations: 0 / 0.5851 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.9479, allocations: 4 kB / 0.5851 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.948, allocations: 23.98 kB / 0.5851 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.9481, allocations: 53.69 kB / 0.5852 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.9482, allocations: 4 kB / 0.5852 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.9482, allocations: 0 / 0.5852 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9482, allocations: 0 / 0.5852 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.9487, allocations: 313.2 kB / 0.5855 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.9489, allocations: 33.7 kB / 0.5855 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.9489, allocations: 20.92 kB / 0.5855 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.9489, allocations: 0 / 0.5855 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.949, allocations: 30.56 kB / 0.5856 GB, free: 3.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.949, allocations: 0 / 0.5856 GB, free: 3.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008007/0.9498, allocations: 237.1 kB / 0.5858 GB, free: 2.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.9498, allocations: 52.16 kB / 0.5858 GB, free: 2.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.9501, allocations: 151.3 kB / 0.586 GB, free: 2.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.9501, allocations: 33.7 kB / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.9502, allocations: 88.12 kB / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.9502, allocations: 39.45 kB / 0.5861 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-06/0.9502, allocations: 0 / 0.5861 GB, free: 2.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.9504, allocations: 322.8 kB / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.9505, allocations: 32 kB / 0.5865 GB, free: 2.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.9505, allocations: 41.17 kB / 0.5865 GB, free: 2.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.598e-05/0.9506, allocations: 47.86 kB / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.9506, allocations: 0 / 0.5866 GB, free: 1.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002088/0.9509, allocations: 125.8 kB / 0.5867 GB, free: 1.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9509, allocations: 8 kB / 0.5867 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9509, allocations: 0 / 0.5867 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.9509, allocations: 0 / 0.5867 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.9511, allocations: 31.98 kB / 0.5867 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9511, allocations: 0 / 0.5867 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.9512, allocations: 19.98 kB / 0.5867 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.9512, allocations: 11.98 kB / 0.5868 GB, free: 1.758 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.889e-05/0.9513, allocations: 112.8 kB / 0.5869 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.9513, allocations: 15.88 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.9516, allocations: 150.1 kB / 0.587 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.9516, allocations: 0 / 0.587 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9517, allocations: 3.906 kB / 0.587 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9517, allocations: 0 / 0.587 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.9522, allocations: 444.5 kB / 0.5874 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9522, allocations: 4 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.9523, allocations: 32.05 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.9523, allocations: 0 / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.9524, allocations: 7.984 kB / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9524, allocations: 0 / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9524, allocations: 0 / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002478/0.9526, allocations: 256.4 kB / 0.5877 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004355/0.9531, allocations: 0.6241 MB / 0.5883 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.9532, allocations: 93 kB / 0.5884 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.9532, allocations: 7.938 kB / 0.5884 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.9533, allocations: 11.98 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.9534, allocations: 11.98 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.9534, allocations: 4 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001129/0.9535, allocations: 137.6 kB / 0.5886 GB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008528/0.9544, allocations: 28.09 kB / 0.5886 GB, free: 15.69 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.0006992/0.9551, allocations: 347.8 kB / 0.589 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.9553, allocations: 91.86 kB / 0.589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9553, allocations: 0 / 0.589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.9554, allocations: 55.92 kB / 0.5891 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.0002424/0.9557, allocations: 14.33 kB / 0.5891 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.9561, allocations: 213.1 kB / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.9565, allocations: 0.7348 MB / 0.59 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9565, allocations: 192 / 0.59 GB, free: 14.27 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat