Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001717/0.001717, allocations: 180 kB / 8.518 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.323/1.323, 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.001022/0.001022, allocations: 92.7 kB / 281.2 MB, free: 5.527 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.1973/0.1973, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2131/0.4104, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.5501, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.906, allocations: 88.43 MB / 0.5805 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.9064, allocations: 73.77 kB / 0.5806 GB, free: 8.289 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.01976/0.9262, allocations: 6.604 MB / 0.5871 GB, free: 1.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.9263, allocations: 15.94 kB / 0.5871 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.9263, allocations: 11.81 kB / 0.5871 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.9265, allocations: 194.8 kB / 0.5873 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9266, allocations: 8 kB / 0.5873 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.9266, allocations: 0 / 0.5873 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.652e-05/0.9267, allocations: 23.98 kB / 0.5873 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.9268, allocations: 59.41 kB / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9268, allocations: 0 / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.9268, allocations: 0 / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9269, allocations: 0 / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.9273, allocations: 289.3 kB / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.9274, allocations: 38.56 kB / 0.5877 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.9274, allocations: 16.86 kB / 0.5877 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.9274, allocations: 7.906 kB / 0.5877 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.9275, allocations: 38.55 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.9275, allocations: 0 / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005061/0.928, allocations: 165.4 kB / 0.5879 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.928, allocations: 81.11 kB / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9281, allocations: 127.7 kB / 0.5881 GB, free: 460 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.9282, allocations: 29.7 kB / 0.5881 GB, free: 424 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.9282, allocations: 87.98 kB / 0.5882 GB, free: 332 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.9282, allocations: 23.7 kB / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.9283, allocations: 0 / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9284, allocations: 322.8 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.9284, allocations: 20 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.9285, allocations: 37.7 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.9285, allocations: 23.98 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.9285, allocations: 0 / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000132/0.9287, allocations: 81.53 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.9287, allocations: 4 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.9287, allocations: 4 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.9287, allocations: 0 / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.9289, allocations: 28.02 kB / 0.5887 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.9289, allocations: 0 / 0.5887 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.929, allocations: 11.98 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.929, allocations: 7.938 kB / 0.5887 GB, free: 15.75 MB / 410.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 8.004e-05/0.9291, allocations: 116.8 kB / 0.5888 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.9291, allocations: 7.906 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.9293, allocations: 98.09 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9294, allocations: 4 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9294, allocations: 4 kB / 0.589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9294, allocations: 0 / 0.589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.9297, allocations: 351.4 kB / 0.5893 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9298, allocations: 4 kB / 0.5893 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.9299, allocations: 23.98 kB / 0.5893 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9299, allocations: 0 / 0.5893 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.9299, allocations: 0 / 0.5893 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9299, allocations: 4.016 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9299, allocations: 3.984 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001541/0.9301, allocations: 191.3 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002537/0.9303, allocations: 0.5469 MB / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.9304, allocations: 96.94 kB / 0.5901 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.9304, allocations: 3.906 kB / 0.5901 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.9305, allocations: 19.98 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.9306, allocations: 4 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.9306, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.502e-05/0.9307, allocations: 113.5 kB / 0.5903 GB, free: 14.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.9315, allocations: 35.98 kB / 0.5903 GB, free: 14.04 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 (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.0007394/0.9323, allocations: 340.9 kB / 0.5906 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.9325, allocations: 55.97 kB / 0.5907 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9325, allocations: 0 / 0.5907 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.9325, allocations: 31.94 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.9327, allocations: 19.89 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.9331, allocations: 131.5 kB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.9335, allocations: 0.7192 MB / 0.5916 GB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.9335, allocations: 0 / 0.5916 GB, free: 12.77 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat does not exist to compare? outputFormat=mat