Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001681/0.00168, allocations: 181.9 kB / 8.521 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.232/1.232, allocations: 221.4 MB / 230.3 MB, free: 7.773 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.000984/0.0009842, allocations: 92.72 kB / 281.2 MB, free: 5.535 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.1761/0.1761, allocations: 44.14 MB / 376.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2046/0.3808, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.4784, allocations: 61.91 MB / 0.4942 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2775/0.756, allocations: 87.54 MB / 0.5797 GB, free: 9.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.7562, allocations: 67.97 kB / 0.5797 GB, free: 9.234 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01784/0.7741, allocations: 6.602 MB / 0.5862 GB, free: 2.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7741, allocations: 11.94 kB / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.7742, allocations: 11.81 kB / 0.5862 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.7745, allocations: 192.1 kB / 0.5864 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.7745, allocations: 0 / 0.5864 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.7745, allocations: 4 kB / 0.5864 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.4e-05/0.7746, allocations: 27.98 kB / 0.5864 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7747, allocations: 59.34 kB / 0.5865 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7748, allocations: 4 kB / 0.5865 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7748, allocations: 0 / 0.5865 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7748, allocations: 0 / 0.5865 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.7752, allocations: 269.3 kB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.7752, allocations: 45.64 kB / 0.5868 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.7753, allocations: 20.83 kB / 0.5868 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.7753, allocations: 4 kB / 0.5868 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.7753, allocations: 30.56 kB / 0.5868 GB, free: 1.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.7753, allocations: 0 / 0.5868 GB, free: 1.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004592/0.7758, allocations: 121.4 kB / 0.5869 GB, free: 1.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.7759, allocations: 85.05 kB / 0.587 GB, free: 1.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.776, allocations: 127.9 kB / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.776, allocations: 25.7 kB / 0.5872 GB, free: 1.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.776, allocations: 88.12 kB / 0.5873 GB, free: 1.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.7761, allocations: 31.5 kB / 0.5873 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.7761, allocations: 0 / 0.5873 GB, free: 1.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.7762, allocations: 322.8 kB / 0.5876 GB, free: 1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.7762, allocations: 16 kB / 0.5876 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.7763, allocations: 25.72 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.7763, allocations: 19.98 kB / 0.5877 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.7763, allocations: 0 / 0.5877 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001224/0.7764, allocations: 77.66 kB / 0.5877 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.7765, allocations: 4 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.7765, allocations: 0 / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7765, allocations: 0 / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.7766, allocations: 24.02 kB / 0.5878 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7766, allocations: 7.938 kB / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.7767, allocations: 7.906 kB / 0.5878 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.7767, allocations: 192 / 0.5878 GB, free: 0.8086 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.973e-05/0.7768, allocations: 109 kB / 0.5879 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.7768, allocations: 7.906 kB / 0.5879 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.777, allocations: 94.34 kB / 0.588 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.7771, allocations: 4 kB / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7771, allocations: 0 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7771, allocations: 3.906 kB / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.7774, allocations: 339.3 kB / 0.5883 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7774, allocations: 0 / 0.5883 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.7775, allocations: 23.98 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7775, allocations: 3.906 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.7776, allocations: 4 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7776, allocations: 3.938 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7776, allocations: 0 / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001555/0.7777, allocations: 171.5 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002789/0.778, allocations: 0.5583 MB / 0.589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.7781, allocations: 81.02 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.7781, allocations: 7.984 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.7782, allocations: 7.984 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.7782, allocations: 4 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.7782, allocations: 0 / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.135e-05/0.7783, allocations: 111.3 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008505/0.7792, allocations: 35.98 kB / 0.5893 GB, free: 15.15 MB / 410.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 (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.0007661/0.78, allocations: 345.6 kB / 0.5896 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.7801, allocations: 40 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7801, allocations: 0 / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.7802, allocations: 27.94 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.7804, allocations: 20.5 kB / 0.5897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.7807, allocations: 111.5 kB / 0.5898 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.7811, allocations: 0.723 MB / 0.5905 GB, free: 13.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7811, allocations: 0 / 0.5905 GB, free: 13.92 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat does not exist to compare? outputFormat=mat