Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001421/0.001421, allocations: 179.7 kB / 8.517 MB, free: 1.855 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.339/1.339, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.000974/0.000974, allocations: 89.59 kB / 281.2 MB, free: 5.539 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.2582/0.2582, allocations: 44.15 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2136/0.4719, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.5692, allocations: 61.91 MB / 0.4942 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.897, allocations: 87.65 MB / 0.5798 GB, free: 9.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.8973, allocations: 71.09 kB / 0.5798 GB, free: 9.078 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.0191/0.9164, allocations: 6.659 MB / 0.5863 GB, free: 2.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.9165, allocations: 11.94 kB / 0.5864 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.9165, allocations: 15.81 kB / 0.5864 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.9168, allocations: 190.9 kB / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.9168, allocations: 4 kB / 0.5866 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.9169, allocations: 8 kB / 0.5866 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.159e-05/0.917, allocations: 19.94 kB / 0.5866 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.9171, allocations: 67.39 kB / 0.5866 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9171, allocations: 4 kB / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.9171, allocations: 3.984 kB / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.9171, allocations: 0 / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.9176, allocations: 289.2 kB / 0.5869 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.9176, allocations: 41.7 kB / 0.587 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.9177, allocations: 20.92 kB / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.9177, allocations: 0 / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.9177, allocations: 34.56 kB / 0.587 GB, free: 1.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.9178, allocations: 0 / 0.587 GB, free: 1.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004982/0.9183, allocations: 153.3 kB / 0.5872 GB, free: 1.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.9183, allocations: 77.11 kB / 0.5872 GB, free: 1.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.9185, allocations: 121 kB / 0.5874 GB, free: 1.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.9185, allocations: 25.7 kB / 0.5874 GB, free: 1.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.9185, allocations: 96.03 kB / 0.5875 GB, free: 1.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.9186, allocations: 23.66 kB / 0.5875 GB, free: 1.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.9186, allocations: 0 / 0.5875 GB, free: 1.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.9187, allocations: 322.8 kB / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.9187, allocations: 16 kB / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.9188, allocations: 37.7 kB / 0.5879 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.9188, allocations: 20.22 kB / 0.5879 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9188, allocations: 3.906 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/0.919, allocations: 93.55 kB / 0.588 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.919, allocations: 8 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.919, allocations: 3.938 kB / 0.588 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.919, allocations: 0 / 0.588 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.9191, allocations: 19.98 kB / 0.588 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.9192, allocations: 0 / 0.588 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.9192, allocations: 11.98 kB / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.9192, allocations: 4 kB / 0.588 GB, free: 0.5156 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.429e-05/0.9193, allocations: 101 kB / 0.5881 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.9193, allocations: 7.906 kB / 0.5881 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.9196, allocations: 113.9 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9196, allocations: 4 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9196, allocations: 0 / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9196, allocations: 0 / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.92, allocations: 355.2 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.92, allocations: 0 / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.9201, allocations: 19.94 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9201, allocations: 3.984 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.9201, allocations: 0 / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9201, allocations: 8.125 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9201, allocations: 4 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001942/0.9203, allocations: 191.3 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002679/0.9206, allocations: 0.5506 MB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.9206, allocations: 92.95 kB / 0.5894 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.9207, allocations: 0 / 0.5894 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.9208, allocations: 11.98 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.9208, allocations: 4 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.9208, allocations: 7.906 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.705e-05/0.9209, allocations: 107.3 kB / 0.5895 GB, free: 14.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009186/0.9218, allocations: 31.92 kB / 0.5896 GB, free: 14.81 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.0007829/0.9226, allocations: 348 kB / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.9228, allocations: 59.91 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9228, allocations: 0 / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.9228, allocations: 28 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.9231, allocations: 11.98 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.9234, allocations: 135.3 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.9238, allocations: 0.7152 MB / 0.5908 GB, free: 13.56 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.9238, allocations: 0 / 0.5908 GB, free: 13.56 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat does not exist to compare? outputFormat=mat