Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001118/0.001118, allocations: 174.8 kB / 8.518 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.191/1.191, allocations: 221.4 MB / 230.3 MB, free: 7.668 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.0009657/0.0009657, allocations: 86.47 kB / 281.2 MB, free: 5.492 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.1632/0.1632, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1984/0.3616, allocations: 68.05 MB / 444.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.469, allocations: 61.91 MB / 0.4942 GB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.7645, allocations: 93.6 MB / 0.5856 GB, free: 3.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.7648, allocations: 99.75 kB / 0.5857 GB, free: 2.945 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.03703/0.8019, allocations: 14.99 MB / 0.6003 GB, free: 3.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.8019, allocations: 15.94 kB / 0.6004 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.8021, allocations: 43.44 kB / 0.6004 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.8025, allocations: 294.4 kB / 0.6007 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.8025, allocations: 16.94 kB / 0.6007 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.8026, allocations: 31.98 kB / 0.6007 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000667/0.8033, allocations: 450.3 kB / 0.6012 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.8041, allocations: 0.57 MB / 0.6017 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.8042, allocations: 0 / 0.6017 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.8042, allocations: 3.906 kB / 0.6017 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.8043, allocations: 41.23 kB / 0.6018 GB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.8067, allocations: 1.264 MB / 0.603 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.8075, allocations: 478.2 kB / 0.6034 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.8077, allocations: 144.8 kB / 0.6036 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.8078, allocations: 15.92 kB / 0.6036 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.8078, allocations: 38.5 kB / 0.6036 GB, free: 220 kB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.8078, allocations: 0 / 0.6036 GB, free: 220 kB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006743/0.8085, allocations: 365.5 kB / 0.604 GB, free: 15.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.8085, allocations: 55.41 kB / 0.604 GB, free: 15.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.8087, allocations: 185.8 kB / 0.6042 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.8088, allocations: 29.7 kB / 0.6042 GB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8089, allocations: 243.3 kB / 0.6045 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.809, allocations: 82.81 kB / 0.6046 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.809, allocations: 0 / 0.6046 GB, free: 15.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8091, allocations: 330.8 kB / 0.6049 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.8094, allocations: 160 kB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.8097, allocations: 256.4 kB / 0.6053 GB, free: 14.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.81, allocations: 198.4 kB / 0.6055 GB, free: 14.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.81, allocations: 0 / 0.6055 GB, free: 14.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007604/0.8108, allocations: 487 kB / 0.6059 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.8108, allocations: 4 kB / 0.6059 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-05/0.8109, allocations: 43.97 kB / 0.606 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8109, allocations: 4 kB / 0.606 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.8111, allocations: 39.91 kB / 0.606 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8111, allocations: 4 kB / 0.606 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.8113, allocations: 19.78 kB / 0.606 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.8114, allocations: 23.98 kB / 0.6061 GB, free: 13.64 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001521/0.8115, allocations: 125.1 kB / 0.6062 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.8116, allocations: 15.81 kB / 0.6062 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.8127, allocations: 0.5845 MB / 0.6068 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.8127, allocations: 8 kB / 0.6068 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8127, allocations: 0 / 0.6068 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8127, allocations: 0 / 0.6068 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.8132, allocations: 385.8 kB / 0.6071 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-05/0.8133, allocations: 47.81 kB / 0.6072 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.8135, allocations: 31.92 kB / 0.6072 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8135, allocations: 0 / 0.6072 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.8136, allocations: 11.98 kB / 0.6072 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8136, allocations: 0 / 0.6072 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8136, allocations: 0 / 0.6072 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000988/0.8146, allocations: 0.7038 MB / 0.6079 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001438/0.816, allocations: 1.321 MB / 0.6092 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.8161, allocations: 96.86 kB / 0.6093 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.8161, allocations: 0 / 0.6093 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.8163, allocations: 7.891 kB / 0.6093 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.8164, allocations: 16.58 kB / 0.6093 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.8164, allocations: 23.98 kB / 0.6093 GB, free: 10.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000102/0.8165, allocations: 148.3 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001119/0.8176, allocations: 171.4 kB / 0.6096 GB, free: 9.867 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003637/0.818, allocations: 225 kB / 0.6099 GB, free: 9.641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.8188, allocations: 0.6719 MB / 0.6105 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8188, allocations: 0 / 0.6105 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.8191, allocations: 492.2 kB / 0.611 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.8194, allocations: 18.05 kB / 0.611 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.8211, allocations: 0.7581 MB / 0.6117 GB, free: 7.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.8217, allocations: 0.927 MB / 0.6126 GB, free: 6.582 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.8217, allocations: 0 / 0.6126 GB, free: 6.582 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1)