Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",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 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 186.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008713/0.0008716, allocations: 89.41 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2616/0.4746, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.8468, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.9791, allocations: 86.31 MB / 0.5498 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.9794, allocations: 71.47 kB / 0.5498 GB, free: 12.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01704/0.9965, allocations: 6.338 MB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.9965, allocations: 12 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.9966, allocations: 11.81 kB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.9969, allocations: 198.8 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.9969, allocations: 0 / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.997, allocations: 8 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.411e-05/0.9971, allocations: 15.98 kB / 0.5563 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.9972, allocations: 59.41 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9972, allocations: 0 / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.9972, allocations: 3.938 kB / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9972, allocations: 4 kB / 0.5563 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.9976, allocations: 261.4 kB / 0.5566 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.9977, allocations: 34.56 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.9978, allocations: 16.86 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.9978, allocations: 0 / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.9978, allocations: 34.47 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.9978, allocations: 0 / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005916/0.9984, allocations: 137.5 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.9985, allocations: 81.09 kB / 0.5569 GB, free: 5.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.9987, allocations: 130 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.9988, allocations: 25.7 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.9988, allocations: 84.14 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.9989, allocations: 23.7 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.9989, allocations: 4 kB / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9991, allocations: 318.8 kB / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.9991, allocations: 12 kB / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.9992, allocations: 29.7 kB / 0.5575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.9993, allocations: 16.17 kB / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.9993, allocations: 0 / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002011/0.9995, allocations: 77.58 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9995, allocations: 4.031 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.9996, allocations: 4 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.9996, allocations: 3.938 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.9998, allocations: 23.98 kB / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.9998, allocations: 0 / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1, allocations: 23.92 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/1, allocations: 4 kB / 0.5576 GB, free: 4.336 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 (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 prepare postOptimizeDAE: time 9.21e-05/1, allocations: 102.4 kB / 0.5577 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/1, allocations: 11.81 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/1, allocations: 94.03 kB / 0.5578 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1, allocations: 0 / 0.5578 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1, allocations: 0 / 0.5578 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1, allocations: 4 kB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/1.001, allocations: 327 kB / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.001, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.001, allocations: 31.92 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.001, allocations: 0 / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.001, allocations: 4 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.001, allocations: 4 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.001, allocations: 0 / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001738/1.001, allocations: 163.8 kB / 0.5583 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002802/1.002, allocations: 0.5427 MB / 0.5589 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/1.002, allocations: 97 kB / 0.5589 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/1.002, allocations: 0 / 0.5589 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/1.002, allocations: 15.98 kB / 0.559 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/1.002, allocations: 7.984 kB / 0.559 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/1.002, allocations: 4 kB / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.441e-05/1.002, allocations: 104.2 kB / 0.5591 GB, free: 2.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009054/1.003, allocations: 39.91 kB / 0.5591 GB, free: 2.691 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.000843/1.004, allocations: 330.8 kB / 0.5594 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/1.004, allocations: 43.92 kB / 0.5595 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.004, allocations: 8 kB / 0.5595 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/1.004, allocations: 23.98 kB / 0.5595 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/1.004, allocations: 11.86 kB / 0.5595 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/1.005, allocations: 119.7 kB / 0.5596 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/1.005, allocations: 0.7192 MB / 0.5603 GB, free: 1.43 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/1.005, allocations: 0 / 0.5603 GB, free: 1.43 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat does not exist to compare? outputFormat=mat