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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001113/0.001113, allocations: 178.6 kB / 8.519 MB, free: 1.832 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.175/1.175, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.001177/0.001177, allocations: 86.38 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.161/0.161, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.3368, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.4428, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/0.6984, allocations: 94.37 MB / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.6987, allocations: 95.77 kB / 0.5865 GB, free: 2.219 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.03649/0.7352, allocations: 14.31 MB / 0.6004 GB, free: 3.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7352, allocations: 15.92 kB / 0.6004 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.7353, allocations: 43.44 kB / 0.6005 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.7357, allocations: 279.4 kB / 0.6008 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7357, allocations: 12 kB / 0.6008 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.7358, allocations: 24 kB / 0.6008 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004766/0.7362, allocations: 337.5 kB / 0.6011 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.7369, allocations: 495.5 kB / 0.6016 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7369, allocations: 0 / 0.6016 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.737, allocations: 7.906 kB / 0.6016 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.737, allocations: 12.78 kB / 0.6016 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.7387, allocations: 1.162 MB / 0.6027 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.7391, allocations: 287.5 kB / 0.603 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.7393, allocations: 134.5 kB / 0.6031 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.7393, allocations: 4 kB / 0.6031 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.7393, allocations: 38.55 kB / 0.6032 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.7393, allocations: 0 / 0.6032 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005792/0.7399, allocations: 301.3 kB / 0.6035 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.74, allocations: 110.8 kB / 0.6036 GB, free: 372 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.7402, allocations: 208 kB / 0.6038 GB, free: 152 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.7402, allocations: 25.7 kB / 0.6038 GB, free: 120 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.7403, allocations: 199.8 kB / 0.604 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.7404, allocations: 63.09 kB / 0.604 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.7404, allocations: 0 / 0.604 GB, free: 15.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7405, allocations: 330.8 kB / 0.6044 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.7407, allocations: 124.1 kB / 0.6045 GB, free: 15.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.7409, allocations: 194.7 kB / 0.6047 GB, free: 15.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.7412, allocations: 147.8 kB / 0.6048 GB, free: 15.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7412, allocations: 0 / 0.6048 GB, free: 15.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005649/0.7417, allocations: 376 kB / 0.6052 GB, free: 14.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7418, allocations: 4 kB / 0.6052 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.468e-05/0.7418, allocations: 35.92 kB / 0.6052 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7419, allocations: 4 kB / 0.6052 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.7421, allocations: 52.25 kB / 0.6053 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.7421, allocations: 7.938 kB / 0.6053 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.7423, allocations: 31.89 kB / 0.6053 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.7424, allocations: 15.98 kB / 0.6053 GB, free: 14.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.7425, allocations: 122.1 kB / 0.6054 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.7426, allocations: 19.72 kB / 0.6054 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007626/0.7433, allocations: 457 kB / 0.6059 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.7434, allocations: 0 / 0.6059 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7434, allocations: 4 kB / 0.6059 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7434, allocations: 4 kB / 0.6059 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.7438, allocations: 345.8 kB / 0.6062 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.06e-05/0.7439, allocations: 31.97 kB / 0.6063 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.7441, allocations: 27.97 kB / 0.6063 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.7441, allocations: 11.98 kB / 0.6063 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.7441, allocations: 4 kB / 0.6063 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.7442, allocations: 7.984 kB / 0.6063 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7442, allocations: 0 / 0.6063 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005679/0.7447, allocations: 0.5699 MB / 0.6069 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006439/0.7454, allocations: 0.9314 MB / 0.6078 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.7455, allocations: 100.8 kB / 0.6079 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.7455, allocations: 8 kB / 0.6079 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.7458, allocations: 19.98 kB / 0.6079 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.7459, allocations: 15.97 kB / 0.6079 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.7459, allocations: 12 kB / 0.6079 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001249/0.746, allocations: 164.5 kB / 0.6081 GB, free: 11.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001135/0.7472, allocations: 159.4 kB / 0.6082 GB, free: 11.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004013/0.7476, allocations: 210.2 kB / 0.6084 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005607/0.7482, allocations: 0.5146 MB / 0.6089 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7482, allocations: 0 / 0.6089 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.7485, allocations: 383.1 kB / 0.6093 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.7488, allocations: 25.98 kB / 0.6093 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.75, allocations: 0.5417 MB / 0.6098 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.7505, allocations: 0.8757 MB / 0.6107 GB, free: 8.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7505, allocations: 0 / 0.6107 GB, free: 8.68 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)