Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001116/0.001116, allocations: 202.3 kB / 8.541 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008683/0.0008684, allocations: 91.69 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1633/0.1633, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2042/0.3675, allocations: 69.4 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.4533, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.7214, allocations: 93.49 MB / 0.5952 GB, free: 9.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.7217, allocations: 95.27 kB / 0.5953 GB, free: 9.23 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.02826/0.75, allocations: 10.2 MB / 0.6052 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.75, allocations: 12 kB / 0.6052 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.7504, allocations: 67.67 kB / 0.6053 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.7507, allocations: 228.7 kB / 0.6055 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.7507, allocations: 7.906 kB / 0.6055 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.7507, allocations: 11.94 kB / 0.6056 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002545/0.751, allocations: 143.7 kB / 0.6057 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.7514, allocations: 237 kB / 0.6059 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7514, allocations: 0 / 0.6059 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.7514, allocations: 0 / 0.6059 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.7514, allocations: 19.61 kB / 0.6059 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.7525, allocations: 0.7179 MB / 0.6066 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.7529, allocations: 199.7 kB / 0.6068 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.753, allocations: 82.88 kB / 0.6069 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.753, allocations: 4 kB / 0.6069 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.7531, allocations: 33.62 kB / 0.6069 GB, free: 14.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.7531, allocations: 0 / 0.6069 GB, free: 14.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000411/0.7535, allocations: 170.7 kB / 0.6071 GB, free: 14.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.7535, allocations: 110.1 kB / 0.6072 GB, free: 14.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.7537, allocations: 170.5 kB / 0.6074 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.7537, allocations: 25.7 kB / 0.6074 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.7538, allocations: 134.7 kB / 0.6075 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.7539, allocations: 43.11 kB / 0.6076 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.7539, allocations: 0 / 0.6076 GB, free: 14.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.754, allocations: 326.4 kB / 0.6079 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.7541, allocations: 58.08 kB / 0.6079 GB, free: 13.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.7542, allocations: 102.2 kB / 0.608 GB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.7543, allocations: 74.03 kB / 0.6081 GB, free: 13.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7543, allocations: 0 / 0.6081 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003199/0.7547, allocations: 206.4 kB / 0.6083 GB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7547, allocations: 7.438 kB / 0.6083 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.7547, allocations: 8 kB / 0.6083 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7547, allocations: 4 kB / 0.6083 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.755, allocations: 44.11 kB / 0.6084 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.755, allocations: 7.938 kB / 0.6084 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7552, allocations: 35.83 kB / 0.6084 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.7552, allocations: 7.984 kB / 0.6084 GB, free: 13.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 8.771e-05/0.7553, allocations: 113 kB / 0.6085 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.7554, allocations: 15.81 kB / 0.6085 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.7558, allocations: 208.2 kB / 0.6087 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7558, allocations: 4 kB / 0.6087 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7558, allocations: 3.984 kB / 0.6087 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7558, allocations: 0 / 0.6087 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.7561, allocations: 239.9 kB / 0.609 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/0.7562, allocations: 8 kB / 0.609 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.7564, allocations: 35.97 kB / 0.609 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.7564, allocations: 3.984 kB / 0.609 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.7564, allocations: 8 kB / 0.609 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7564, allocations: 4.031 kB / 0.609 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7564, allocations: 3.938 kB / 0.609 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000401/0.7568, allocations: 449.8 kB / 0.6095 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004756/0.7573, allocations: 0.8062 MB / 0.6102 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.7574, allocations: 100.4 kB / 0.6103 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.7574, allocations: 0 / 0.6103 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.7577, allocations: 27.98 kB / 0.6104 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.7578, allocations: 11.97 kB / 0.6104 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.7578, allocations: 4 kB / 0.6104 GB, free: 11.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001088/0.7579, allocations: 135.6 kB / 0.6105 GB, free: 11.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001061/0.759, allocations: 94.41 kB / 0.6106 GB, free: 11.14 MB / 410.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003533/0.7594, allocations: 182.1 kB / 0.6108 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.7597, allocations: 221.7 kB / 0.611 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7597, allocations: 0 / 0.611 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.7599, allocations: 163.3 kB / 0.6111 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.7602, allocations: 31.41 kB / 0.6112 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.7609, allocations: 301.2 kB / 0.6115 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.7613, allocations: 0.7891 MB / 0.6122 GB, free: 9.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7613, allocations: 0 / 0.6122 GB, free: 9.43 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)