Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001083/0.001083, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008466/0.0008466, allocations: 91.08 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1894/0.1894, allocations: 45.14 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2144/0.4038, allocations: 69.39 MB / 452.7 MB, free: 76.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.4965, allocations: 63.24 MB / 0.5039 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.7704, allocations: 93.04 MB / 0.5947 GB, free: 9.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.7707, allocations: 91.89 kB / 0.5948 GB, free: 9.941 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.02774/0.7985, allocations: 10.45 MB / 0.605 GB, free: 1.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.7985, allocations: 8 kB / 0.605 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.7986, allocations: 31.62 kB / 0.6051 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.7988, allocations: 237.8 kB / 0.6053 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.7989, allocations: 8 kB / 0.6053 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.7989, allocations: 16 kB / 0.6053 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004323/0.7993, allocations: 354.1 kB / 0.6057 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.7998, allocations: 343.9 kB / 0.606 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7998, allocations: 0 / 0.606 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.7998, allocations: 0 / 0.606 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.7998, allocations: 28.64 kB / 0.606 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.8011, allocations: 0.8092 MB / 0.6068 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.8015, allocations: 325.9 kB / 0.6071 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.8017, allocations: 111.2 kB / 0.6072 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.8017, allocations: 4.109 kB / 0.6072 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.8017, allocations: 42.83 kB / 0.6073 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.8017, allocations: 0 / 0.6073 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004803/0.8022, allocations: 270.6 kB / 0.6075 GB, free: 14.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.8023, allocations: 51.41 kB / 0.6076 GB, free: 14.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.8024, allocations: 156.2 kB / 0.6077 GB, free: 14.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.8024, allocations: 26.36 kB / 0.6077 GB, free: 14.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.8025, allocations: 165.6 kB / 0.6079 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.8026, allocations: 62.42 kB / 0.608 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.8026, allocations: 0 / 0.608 GB, free: 14.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.8027, allocations: 325.6 kB / 0.6083 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.8029, allocations: 109.7 kB / 0.6084 GB, free: 13.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.803, allocations: 148.9 kB / 0.6085 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.8032, allocations: 129.3 kB / 0.6086 GB, free: 13.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8032, allocations: 8 kB / 0.6086 GB, free: 13.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004359/0.8037, allocations: 299.8 kB / 0.6089 GB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8037, allocations: 8 kB / 0.6089 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8037, allocations: 0 / 0.6089 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.8037, allocations: 4 kB / 0.6089 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.8044, allocations: 120 kB / 0.6091 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.8063, allocations: 3.764 MB / 0.6127 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.8064, allocations: 11.94 kB / 0.6127 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.8065, allocations: 19.61 kB / 0.6128 GB, free: 9.348 MB / 410.7 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 0.0001151/0.8066, allocations: 114.7 kB / 0.6129 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.8067, allocations: 19.81 kB / 0.6129 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.8073, allocations: 385.2 kB / 0.6133 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.8073, allocations: 0 / 0.6133 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8073, allocations: 7.906 kB / 0.6133 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8073, allocations: 0 / 0.6133 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.8077, allocations: 285.6 kB / 0.6135 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8077, allocations: 3.938 kB / 0.6135 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.8083, allocations: 119.5 kB / 0.6137 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8083, allocations: 0 / 0.6137 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.8083, allocations: 4 kB / 0.6137 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.8102, allocations: 3.762 MB / 0.6173 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8102, allocations: 0 / 0.6173 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004305/0.8106, allocations: 362.8 kB / 0.6177 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005034/0.8111, allocations: 0.7512 MB / 0.6184 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.8112, allocations: 92.86 kB / 0.6185 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.8112, allocations: 4 kB / 0.6185 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.8114, allocations: 7.984 kB / 0.6185 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.8115, allocations: 15.98 kB / 0.6185 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.8115, allocations: 18.86 kB / 0.6186 GB, free: 3.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.857e-05/0.8116, allocations: 117.6 kB / 0.6187 GB, free: 3.258 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009766/0.8126, allocations: 89.88 kB / 0.6187 GB, free: 3.176 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 (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.0003228/0.8129, allocations: 159.7 kB / 0.6189 GB, free: 3.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.8139, allocations: 342.7 kB / 0.6192 GB, free: 2.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8139, allocations: 0 / 0.6192 GB, free: 2.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.8147, allocations: 212.2 kB / 0.6194 GB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.8149, allocations: 19.2 kB / 0.6194 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.8157, allocations: 413 kB / 0.6198 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.8161, allocations: 0.8392 MB / 0.6207 GB, free: 1.234 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8161, allocations: 0 / 0.6207 GB, free: 1.234 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat