Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.0009081/0.0009081, 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.142/1.142, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0009402/0.0009401, allocations: 86.36 kB / 281.2 MB, free: 5.461 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.1588/0.1588, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.3364, allocations: 68.05 MB / 444.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.4363, allocations: 61.9 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/0.6899, allocations: 89.12 MB / 0.5812 GB, free: 7.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.6902, allocations: 92.42 kB / 0.5813 GB, free: 7.52 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.01476/0.705, allocations: 5.13 MB / 0.5863 GB, free: 2.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.705, allocations: 15.94 kB / 0.5863 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006396/0.7057, allocations: 83.7 kB / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.706, allocations: 217.1 kB / 0.5866 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.706, allocations: 4 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.706, allocations: 7.938 kB / 0.5866 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003515/0.7064, allocations: 204.1 kB / 0.5868 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.7067, allocations: 224.1 kB / 0.587 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7067, allocations: 0 / 0.587 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.7067, allocations: 4 kB / 0.587 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.7068, allocations: 23.83 kB / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.708, allocations: 0.6024 MB / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.7083, allocations: 214.4 kB / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.7084, allocations: 76.86 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.7084, allocations: 11.91 kB / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.7085, allocations: 34.56 kB / 0.588 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.7085, allocations: 0 / 0.588 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003642/0.7088, allocations: 185.6 kB / 0.5882 GB, free: 324 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.7089, allocations: 51.41 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.709, allocations: 149.5 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.709, allocations: 25.81 kB / 0.5884 GB, free: 68 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.7091, allocations: 124.1 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.7092, allocations: 39.36 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.7092, allocations: 0 / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7093, allocations: 330.8 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.7094, allocations: 71.94 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.7096, allocations: 99.3 kB / 0.589 GB, free: 15.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.7097, allocations: 98.09 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7097, allocations: 3.906 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003412/0.7101, allocations: 221.4 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7101, allocations: 4 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7101, allocations: 0 / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7101, allocations: 4 kB / 0.5893 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.7129, allocations: 259.7 kB / 0.5896 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/0.7205, allocations: 8.108 MB / 0.5975 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.7208, allocations: 16.08 kB / 0.5975 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.7208, allocations: 19.92 kB / 0.5975 GB, free: 5.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/0.7209, allocations: 104.9 kB / 0.5976 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.7209, allocations: 11.91 kB / 0.5976 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.7213, allocations: 214 kB / 0.5978 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7213, allocations: 4 kB / 0.5978 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.7213, allocations: 0 / 0.5978 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7214, allocations: 3.938 kB / 0.5978 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.7216, allocations: 229.9 kB / 0.5981 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7216, allocations: 4 kB / 0.5981 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.7236, allocations: 199.7 kB / 0.5983 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7236, allocations: 4 kB / 0.5983 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.7236, allocations: 7.938 kB / 0.5983 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/0.7298, allocations: 7.771 MB / 0.6059 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7298, allocations: 0 / 0.6059 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002855/0.7301, allocations: 252.8 kB / 0.6061 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004006/0.7305, allocations: 0.6246 MB / 0.6067 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.7306, allocations: 101 kB / 0.6068 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.7306, allocations: 0 / 0.6068 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.7308, allocations: 11.98 kB / 0.6068 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.7309, allocations: 7.984 kB / 0.6068 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.7309, allocations: 8 kB / 0.6068 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001067/0.731, allocations: 141 kB / 0.607 GB, free: 11.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009913/0.732, allocations: 60 kB / 0.607 GB, free: 11.46 MB / 426.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 (13): * 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): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.7322, allocations: 111.9 kB / 0.6071 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.7332, allocations: 256.3 kB / 0.6074 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7332, allocations: 0 / 0.6074 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006602/0.7339, allocations: 147.8 kB / 0.6075 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.7341, allocations: 20.66 kB / 0.6075 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.7358, allocations: 378.7 kB / 0.6079 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.7363, allocations: 0.8212 MB / 0.6087 GB, free: 9.684 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7363, allocations: 0 / 0.6087 GB, free: 9.684 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat