Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001779/0.001779, allocations: 178.2 kB / 8.519 MB, free: 1.82 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.338/1.338, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.001156/0.001156, allocations: 86.36 kB / 281.2 MB, free: 5.52 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.2083/0.2083, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2842/0.4926, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.6108, allocations: 61.93 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3162/0.927, allocations: 88.19 MB / 0.5803 GB, free: 8.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.9273, allocations: 80.95 kB / 0.5804 GB, free: 8.457 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.01271/0.94, allocations: 4.815 MB / 0.5851 GB, free: 3.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.9401, allocations: 11.94 kB / 0.5851 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.9402, allocations: 11.81 kB / 0.5851 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.9405, allocations: 211.5 kB / 0.5853 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.9405, allocations: 4 kB / 0.5853 GB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.9405, allocations: 4 kB / 0.5853 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.9406, allocations: 28.64 kB / 0.5853 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.9407, allocations: 49.69 kB / 0.5854 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.9408, allocations: 0 / 0.5854 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.9408, allocations: 0 / 0.5854 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9408, allocations: 7.875 kB / 0.5854 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.9413, allocations: 313.3 kB / 0.5857 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.9415, allocations: 33.7 kB / 0.5857 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.9415, allocations: 16.98 kB / 0.5858 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.9416, allocations: 3.984 kB / 0.5858 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.9416, allocations: 42.59 kB / 0.5858 GB, free: 2.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.9416, allocations: 0 / 0.5858 GB, free: 2.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006925/0.9423, allocations: 233 kB / 0.586 GB, free: 2.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.9424, allocations: 55.34 kB / 0.5861 GB, free: 2.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.9426, allocations: 190.6 kB / 0.5863 GB, free: 2.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.9426, allocations: 25.7 kB / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.9427, allocations: 96.03 kB / 0.5864 GB, free: 2.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.9427, allocations: 31.55 kB / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.9428, allocations: 0 / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9429, allocations: 330.7 kB / 0.5867 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.943, allocations: 39.98 kB / 0.5868 GB, free: 1.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.943, allocations: 37.19 kB / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.9431, allocations: 43.97 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.9431, allocations: 0 / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002057/0.9433, allocations: 121.5 kB / 0.5869 GB, free: 1.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9434, allocations: 8 kB / 0.587 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.9434, allocations: 3.906 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9434, allocations: 0 / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.9435, allocations: 35.97 kB / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9435, allocations: 0 / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.9436, allocations: 16.36 kB / 0.587 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.9437, allocations: 4 kB / 0.587 GB, free: 1.488 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.556e-05/0.9437, allocations: 108.9 kB / 0.5871 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.9438, allocations: 11.81 kB / 0.5871 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.9441, allocations: 151 kB / 0.5873 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9441, allocations: 4 kB / 0.5873 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9441, allocations: 4 kB / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9441, allocations: 0 / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.9448, allocations: 460.4 kB / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9448, allocations: 4 kB / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.945, allocations: 35.91 kB / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.945, allocations: 96 / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.945, allocations: 7.938 kB / 0.5878 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.945, allocations: 4.062 kB / 0.5878 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.945, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000261/0.9453, allocations: 254.5 kB / 0.588 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003734/0.9457, allocations: 0.6296 MB / 0.5886 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.9457, allocations: 96.92 kB / 0.5887 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.9458, allocations: 4 kB / 0.5887 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.9459, allocations: 15.98 kB / 0.5887 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.946, allocations: 7.984 kB / 0.5887 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.946, allocations: 4 kB / 0.5887 GB, free: 15.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001657/0.9461, allocations: 155.2 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008599/0.947, allocations: 39.92 kB / 0.5889 GB, free: 15.37 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.0007873/0.9478, allocations: 346.1 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.948, allocations: 83.92 kB / 0.5893 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.948, allocations: 4 kB / 0.5893 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.9481, allocations: 55.98 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.9483, allocations: 25.98 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.9489, allocations: 229.1 kB / 0.5896 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.9492, allocations: 0.7425 MB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9492, allocations: 0 / 0.5904 GB, free: 13.93 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat