Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 193.1 kB / 7.805 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009001/0.0009003, allocations: 91.55 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1949/0.1949, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2378/0.4327, allocations: 64.99 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.8091, allocations: 58.83 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.955, allocations: 90.84 MB / 0.5542 GB, free: 8.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/0.9554, allocations: 95.94 kB / 0.5543 GB, free: 7.977 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.02915/0.9846, allocations: 10.16 MB / 0.5642 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.9847, allocations: 11.94 kB / 0.5642 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.9848, allocations: 35.62 kB / 0.5643 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.9852, allocations: 243.2 kB / 0.5645 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.9852, allocations: 8 kB / 0.5645 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.9853, allocations: 16 kB / 0.5645 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005475/0.9858, allocations: 353 kB / 0.5649 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.9864, allocations: 340.6 kB / 0.5652 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9864, allocations: 4 kB / 0.5652 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.9865, allocations: 0 / 0.5652 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.9865, allocations: 20.64 kB / 0.5652 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.9881, allocations: 0.8066 MB / 0.566 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.9886, allocations: 338.2 kB / 0.5663 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.9888, allocations: 104.8 kB / 0.5664 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.9888, allocations: 3.984 kB / 0.5664 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.9889, allocations: 38.84 kB / 0.5665 GB, free: 11.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.9889, allocations: 0 / 0.5665 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005435/0.9894, allocations: 265.4 kB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.9895, allocations: 55.41 kB / 0.5668 GB, free: 10.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.9897, allocations: 159.8 kB / 0.5669 GB, free: 10.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.9897, allocations: 25.7 kB / 0.5669 GB, free: 10.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9898, allocations: 163.9 kB / 0.5671 GB, free: 10.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.9899, allocations: 59.11 kB / 0.5671 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.9899, allocations: 3.938 kB / 0.5671 GB, free: 10.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.9901, allocations: 330.8 kB / 0.5675 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.9903, allocations: 96.03 kB / 0.5676 GB, free: 10.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.9905, allocations: 160.7 kB / 0.5677 GB, free: 9.926 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.9907, allocations: 123.9 kB / 0.5678 GB, free: 9.805 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9907, allocations: 3.906 kB / 0.5678 GB, free: 9.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000492/0.9912, allocations: 312.9 kB / 0.5681 GB, free: 9.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9912, allocations: 4 kB / 0.5681 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9913, allocations: 0 / 0.5681 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.9913, allocations: 7.984 kB / 0.5681 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.992, allocations: 115.8 kB / 0.5683 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.9944, allocations: 3.766 MB / 0.5719 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.9946, allocations: 23.86 kB / 0.572 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.9947, allocations: 8 kB / 0.572 GB, free: 5.426 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.0001268/0.9948, allocations: 108.9 kB / 0.5721 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.9949, allocations: 19.8 kB / 0.5721 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.9956, allocations: 394.6 kB / 0.5725 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9956, allocations: 4 kB / 0.5725 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.9956, allocations: 7.906 kB / 0.5725 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9956, allocations: 0 / 0.5725 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.996, allocations: 285.9 kB / 0.5727 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.996, allocations: 0 / 0.5727 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.9966, allocations: 115.8 kB / 0.5729 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.9966, allocations: 4 kB / 0.5729 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.9967, allocations: 7.984 kB / 0.5729 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.9992, allocations: 3.758 MB / 0.5765 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9992, allocations: 0 / 0.5765 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004984/0.9997, allocations: 363.2 kB / 0.5769 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006542/1, allocations: 0.7456 MB / 0.5776 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/1, allocations: 92.92 kB / 0.5777 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/1.001, allocations: 0 / 0.5777 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.001, allocations: 11.98 kB / 0.5777 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.001, allocations: 11.97 kB / 0.5777 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/1.001, allocations: 8 kB / 0.5777 GB, free: 15.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000108/1.001, allocations: 124 kB / 0.5778 GB, free: 15.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001117/1.002, allocations: 99.62 kB / 0.5779 GB, free: 15.05 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 (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.0003782/1.002, allocations: 161.1 kB / 0.5781 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/1.003, allocations: 335.9 kB / 0.5784 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.003, allocations: 7.938 kB / 0.5784 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007385/1.004, allocations: 211.8 kB / 0.5786 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/1.004, allocations: 19.83 kB / 0.5786 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.006, allocations: 413.1 kB / 0.579 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/1.006, allocations: 0.841 MB / 0.5799 GB, free: 13.04 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.006, allocations: 0 / 0.5799 GB, free: 13.04 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat