Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001266/0.001266, allocations: 202.3 kB / 8.541 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.213/1.213, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 90.41 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1829/0.1829, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2548/0.4377, allocations: 69.4 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.5423, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3178/0.8601, allocations: 94.67 MB / 0.5963 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.8604, allocations: 90.64 kB / 0.5964 GB, free: 8.055 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.03716/0.8975, allocations: 15.08 MB / 0.6111 GB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8976, allocations: 8 kB / 0.6112 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.8978, allocations: 51.38 kB / 0.6112 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.8982, allocations: 288.4 kB / 0.6115 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.8983, allocations: 16 kB / 0.6115 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.8983, allocations: 31.94 kB / 0.6115 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000651/0.899, allocations: 445.6 kB / 0.6119 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.8999, allocations: 0.5795 MB / 0.6125 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.8999, allocations: 4 kB / 0.6125 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.9, allocations: 4 kB / 0.6125 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.9, allocations: 33.3 kB / 0.6126 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.9025, allocations: 1.263 MB / 0.6138 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.9033, allocations: 468.4 kB / 0.6142 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.9036, allocations: 150 kB / 0.6144 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.9036, allocations: 11.98 kB / 0.6144 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.9037, allocations: 38.5 kB / 0.6144 GB, free: 8.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/0.9037, allocations: 0 / 0.6144 GB, free: 8.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007109/0.9044, allocations: 367.5 kB / 0.6148 GB, free: 7.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.9044, allocations: 55.41 kB / 0.6148 GB, free: 7.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.9046, allocations: 191.1 kB / 0.615 GB, free: 7.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.9047, allocations: 25.7 kB / 0.615 GB, free: 7.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.9048, allocations: 236.9 kB / 0.6153 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.9049, allocations: 88.44 kB / 0.6153 GB, free: 7.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.905, allocations: 0 / 0.6153 GB, free: 7.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9051, allocations: 330 kB / 0.6157 GB, free: 6.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.9054, allocations: 161.8 kB / 0.6158 GB, free: 6.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.9057, allocations: 247.6 kB / 0.6161 GB, free: 6.512 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.906, allocations: 202.5 kB / 0.6162 GB, free: 6.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.906, allocations: 0 / 0.6162 GB, free: 6.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008486/0.9069, allocations: 483.7 kB / 0.6167 GB, free: 5.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9069, allocations: 6.656 kB / 0.6167 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-05/0.907, allocations: 42.97 kB / 0.6168 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.907, allocations: 4 kB / 0.6168 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.9073, allocations: 39.91 kB / 0.6168 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.9073, allocations: 8.406 kB / 0.6168 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.9075, allocations: 15.84 kB / 0.6168 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.9076, allocations: 23.92 kB / 0.6168 GB, free: 5.77 MB / 410.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.000214/0.9078, allocations: 124.8 kB / 0.617 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.9079, allocations: 15.81 kB / 0.617 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.9091, allocations: 0.5877 MB / 0.6175 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.9091, allocations: 4 kB / 0.6176 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9091, allocations: 4 kB / 0.6176 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.9091, allocations: 0 / 0.6176 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.9097, allocations: 390.1 kB / 0.6179 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.708e-05/0.9098, allocations: 34.84 kB / 0.618 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.91, allocations: 27.98 kB / 0.618 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.91, allocations: 3.938 kB / 0.618 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.9101, allocations: 11.98 kB / 0.618 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.9101, allocations: 4 kB / 0.618 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9101, allocations: 7.938 kB / 0.618 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001142/0.9112, allocations: 0.7027 MB / 0.6187 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001543/0.9128, allocations: 1.307 MB / 0.62 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.9129, allocations: 96.98 kB / 0.6201 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.913, allocations: 7.906 kB / 0.6201 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.9132, allocations: 7.938 kB / 0.6201 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.9132, allocations: 20.44 kB / 0.6201 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.9133, allocations: 19.55 kB / 0.6201 GB, free: 2.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001256/0.9134, allocations: 137.5 kB / 0.6203 GB, free: 2.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001296/0.9147, allocations: 185.7 kB / 0.6204 GB, free: 2.348 MB / 410.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.0004919/0.9152, allocations: 208.2 kB / 0.6206 GB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008178/0.916, allocations: 0.68 MB / 0.6213 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9161, allocations: 0.8125 kB / 0.6213 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.9165, allocations: 491.3 kB / 0.6218 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.9168, allocations: 26.8 kB / 0.6218 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.9187, allocations: 0.7453 MB / 0.6225 GB, free: 136 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.9193, allocations: 0.9358 MB / 0.6234 GB, free: 15.19 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.9193, allocations: 0 / 0.6234 GB, free: 15.19 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1)