Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001014/0.001014, allocations: 179.4 kB / 8.518 MB, free: 500 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 221.4 MB / 230.3 MB, free: 13.55 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 92.41 kB / 281.2 MB, free: 10.51 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1602/0.1602, allocations: 44.14 MB / 376.1 MB, free: 11.66 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.3329, allocations: 68.05 MB / 444.1 MB, free: 54.28 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.4133, allocations: 61.91 MB / 0.4942 GB, free: 8.297 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/0.6711, allocations: 91.97 MB / 0.584 GB, free: 6.676 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.6714, allocations: 92.58 kB / 0.5841 GB, free: 6.586 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.02855/0.7, allocations: 10.38 MB / 0.5942 GB, free: 12.11 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.7, allocations: 15.94 kB / 0.5942 GB, free: 12.09 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.7001, allocations: 35.56 kB / 0.5943 GB, free: 12.06 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.7004, allocations: 243.2 kB / 0.5945 GB, free: 11.78 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.7004, allocations: 8 kB / 0.5945 GB, free: 11.77 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.7004, allocations: 16 kB / 0.5945 GB, free: 11.75 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004631/0.7009, allocations: 349.8 kB / 0.5949 GB, free: 11.41 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.7014, allocations: 344.6 kB / 0.5952 GB, free: 11.07 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7014, allocations: 0 / 0.5952 GB, free: 11.07 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.7014, allocations: 4 kB / 0.5952 GB, free: 11.06 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.7015, allocations: 20.64 kB / 0.5952 GB, free: 11.04 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.7027, allocations: 0.8028 MB / 0.596 GB, free: 10.2 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.7032, allocations: 338.1 kB / 0.5963 GB, free: 9.863 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.7033, allocations: 104.8 kB / 0.5964 GB, free: 9.758 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.7034, allocations: 11.91 kB / 0.5964 GB, free: 9.746 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.7034, allocations: 38.56 kB / 0.5965 GB, free: 9.699 MB / 418.8 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.7034, allocations: 0 / 0.5965 GB, free: 9.699 MB / 418.8 MB Notification: Performance of matching and sorting (n=19): time 0.0004643/0.7039, allocations: 267 kB / 0.5967 GB, free: 9.434 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.7039, allocations: 55.41 kB / 0.5968 GB, free: 9.367 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.704, allocations: 156.8 kB / 0.5969 GB, free: 9.203 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.7041, allocations: 29.64 kB / 0.597 GB, free: 9.168 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7042, allocations: 155.9 kB / 0.5971 GB, free: 9.008 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.7043, allocations: 63.09 kB / 0.5972 GB, free: 8.945 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.7043, allocations: 0 / 0.5972 GB, free: 8.945 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7044, allocations: 326.8 kB / 0.5975 GB, free: 8.617 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.7046, allocations: 99.92 kB / 0.5976 GB, free: 8.52 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.7047, allocations: 157.8 kB / 0.5977 GB, free: 8.344 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.7049, allocations: 125.7 kB / 0.5978 GB, free: 8.223 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7049, allocations: 4 kB / 0.5978 GB, free: 8.219 MB / 418.8 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004327/0.7054, allocations: 309.1 kB / 0.5981 GB, free: 7.91 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7054, allocations: 10.09 kB / 0.5981 GB, free: 7.902 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.7054, allocations: 0 / 0.5981 GB, free: 7.902 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7054, allocations: 4 kB / 0.5982 GB, free: 7.898 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.7061, allocations: 116.1 kB / 0.5983 GB, free: 7.785 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.7081, allocations: 3.762 MB / 0.6019 GB, free: 3.883 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.7083, allocations: 27.8 kB / 0.602 GB, free: 3.855 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.7083, allocations: 8 kB / 0.602 GB, free: 3.848 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * 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.603e-05/0.7084, allocations: 115.8 kB / 0.6021 GB, free: 3.73 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.7085, allocations: 19.91 kB / 0.6021 GB, free: 3.711 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/0.7092, allocations: 388.7 kB / 0.6025 GB, free: 3.328 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7092, allocations: 4 kB / 0.6025 GB, free: 3.324 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7092, allocations: 0 / 0.6025 GB, free: 3.324 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.7092, allocations: 3.906 kB / 0.6025 GB, free: 3.32 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.7095, allocations: 293.9 kB / 0.6028 GB, free: 2.996 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.7096, allocations: 0 / 0.6028 GB, free: 2.996 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.7101, allocations: 111.9 kB / 0.6029 GB, free: 2.887 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7102, allocations: 0 / 0.6029 GB, free: 2.887 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.7102, allocations: 7.984 kB / 0.6029 GB, free: 2.879 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7123, allocations: 3.762 MB / 0.6065 GB, free: 14.98 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7123, allocations: 0 / 0.6065 GB, free: 14.98 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004195/0.7127, allocations: 366.2 kB / 0.6069 GB, free: 14.61 MB / 434.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005501/0.7133, allocations: 0.7457 MB / 0.6076 GB, free: 13.84 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.7134, allocations: 96.84 kB / 0.6077 GB, free: 13.73 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.7134, allocations: 0 / 0.6077 GB, free: 13.73 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.7136, allocations: 8 kB / 0.6077 GB, free: 13.72 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.7137, allocations: 19.95 kB / 0.6077 GB, free: 13.7 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.7137, allocations: 15.94 kB / 0.6078 GB, free: 13.68 MB / 434.8 MB Notification: Performance of sort global known variables: time 8.465e-05/0.7138, allocations: 123.9 kB / 0.6079 GB, free: 13.56 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.0009799/0.7148, allocations: 95.67 kB / 0.608 GB, free: 13.47 MB / 434.8 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 (19): * Single equations (assignments): 13 * 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.0002721/0.715, allocations: 168.2 kB / 0.6081 GB, free: 13.3 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.0009429/0.716, allocations: 335.1 kB / 0.6084 GB, free: 12.98 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.716, allocations: 0 / 0.6084 GB, free: 12.98 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.7167, allocations: 219.7 kB / 0.6087 GB, free: 12.76 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.717, allocations: 7.906 kB / 0.6087 GB, free: 12.75 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.7179, allocations: 417.1 kB / 0.6091 GB, free: 12.32 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.7184, allocations: 0.841 MB / 0.6099 GB, free: 11.46 MB / 434.8 MB Notification: Performance of SimCode: time 3.31e-07/0.7184, allocations: 0 / 0.6099 GB, free: 11.46 MB / 434.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat