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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_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.001211/0.001211, allocations: 179.3 kB / 8.519 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.179/1.179, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0008956/0.0008957, allocations: 93.97 kB / 281.2 MB, free: 5.457 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.1563/0.1563, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.17/0.3264, allocations: 68.06 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.4212, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.6716, allocations: 90.96 MB / 0.583 GB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.6719, allocations: 106.7 kB / 0.5831 GB, free: 5.707 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.02241/0.6944, allocations: 7.924 MB / 0.5909 GB, free: 13.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6944, allocations: 11.94 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.6965, allocations: 203.5 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.6969, allocations: 238.7 kB / 0.5913 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.6969, allocations: 0 / 0.5913 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.6969, allocations: 15.94 kB / 0.5913 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005509/0.6975, allocations: 336 kB / 0.5916 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.698, allocations: 323.8 kB / 0.5919 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.698, allocations: 0 / 0.5919 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.698, allocations: 4 kB / 0.5919 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.698, allocations: 19.89 kB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.6997, allocations: 0.7468 MB / 0.5927 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.7003, allocations: 350.1 kB / 0.593 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.7004, allocations: 124.8 kB / 0.5931 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.7005, allocations: 3.984 kB / 0.5932 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.7005, allocations: 34.56 kB / 0.5932 GB, free: 11.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.7005, allocations: 0 / 0.5932 GB, free: 11.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005563/0.7011, allocations: 294.7 kB / 0.5935 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.7011, allocations: 51.66 kB / 0.5935 GB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.7013, allocations: 152.3 kB / 0.5937 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.7013, allocations: 29.7 kB / 0.5937 GB, free: 10.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.7014, allocations: 112.2 kB / 0.5938 GB, free: 10.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.7014, allocations: 51.3 kB / 0.5938 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.7015, allocations: 0 / 0.5938 GB, free: 10.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.7015, allocations: 318.8 kB / 0.5941 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.7017, allocations: 119.9 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.7019, allocations: 151.2 kB / 0.5944 GB, free: 9.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.7021, allocations: 139.8 kB / 0.5945 GB, free: 9.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7021, allocations: 3.906 kB / 0.5945 GB, free: 9.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005414/0.7027, allocations: 327.1 kB / 0.5949 GB, free: 9.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7027, allocations: 6.031 kB / 0.5949 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7027, allocations: 0 / 0.5949 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7027, allocations: 7.984 kB / 0.5949 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03/0.7328, allocations: 1.529 MB / 0.5964 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/0.7562, allocations: 10.19 MB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.7566, allocations: 27.8 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.7567, allocations: 15.97 kB / 0.6064 GB, free: 12.96 MB / 426.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 0.0001272/0.7568, allocations: 105 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.7569, allocations: 15.91 kB / 0.6065 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.757, allocations: 32.56 kB / 0.6065 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.757, allocations: 3.984 kB / 0.6065 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.757, allocations: 3.938 kB / 0.6065 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.757, allocations: 0 / 0.6065 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.7574, allocations: 265.9 kB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7574, allocations: 0 / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0298/0.7872, allocations: 1.525 MB / 0.6083 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.7872, allocations: 4 kB / 0.6083 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.7873, allocations: 11.97 kB / 0.6083 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02314/0.8104, allocations: 10.19 MB / 0.6182 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8105, allocations: 0 / 0.6182 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005545/0.811, allocations: 387.1 kB / 0.6186 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006279/0.8117, allocations: 0.7599 MB / 0.6193 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.8117, allocations: 92.95 kB / 0.6194 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.8118, allocations: 0 / 0.6194 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.8122, allocations: 11.98 kB / 0.6194 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.8123, allocations: 23.86 kB / 0.6195 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.8123, allocations: 15.95 kB / 0.6195 GB, free: 14.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.078e-05/0.8124, allocations: 127.8 kB / 0.6196 GB, free: 14.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001201/0.8136, allocations: 103.9 kB / 0.6197 GB, free: 14.52 MB / 442.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.0001854/0.8138, allocations: 133.2 kB / 0.6198 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04505/0.8589, allocations: 2.29 MB / 0.6221 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8589, allocations: 0 / 0.6221 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04488/0.9038, allocations: 2.176 MB / 0.6242 GB, free: 9.898 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.9041, allocations: 8 kB / 0.6242 GB, free: 9.891 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.909, allocations: 0.5492 MB / 0.6247 GB, free: 9.312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.9094, allocations: 0.7703 MB / 0.6255 GB, free: 8.516 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.9094, allocations: 7.938 kB / 0.6255 GB, free: 8.508 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat