Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001053/0.001053, allocations: 199.7 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009121/0.0009121, allocations: 95.25 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.1718/0.1718, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2128/0.3846, allocations: 69.39 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.4837, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.7757, allocations: 100.8 MB / 0.6023 GB, free: 2.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.7761, allocations: 96.98 kB / 0.6024 GB, free: 1.996 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.06774/0.8438, allocations: 25.07 MB / 0.6269 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8439, allocations: 12 kB / 0.6269 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.8444, allocations: 99.3 kB / 0.627 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.8449, allocations: 314.6 kB / 0.6273 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.8449, allocations: 23.91 kB / 0.6273 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.845, allocations: 31.98 kB / 0.6273 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007367/0.8457, allocations: 470.8 kB / 0.6278 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.8467, allocations: 0.6777 MB / 0.6284 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.8467, allocations: 0 / 0.6284 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.8468, allocations: 3.938 kB / 0.6284 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.8468, allocations: 25.31 kB / 0.6285 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.8493, allocations: 1.532 MB / 0.63 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.8497, allocations: 274.5 kB / 0.6302 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.85, allocations: 125.5 kB / 0.6303 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.85, allocations: 19.8 kB / 0.6304 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.8501, allocations: 42.5 kB / 0.6304 GB, free: 9.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.8501, allocations: 0 / 0.6304 GB, free: 9.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007455/0.8508, allocations: 303.2 kB / 0.6307 GB, free: 9.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.8509, allocations: 114.7 kB / 0.6308 GB, free: 9.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.8513, allocations: 308.4 kB / 0.6311 GB, free: 8.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.8513, allocations: 25.7 kB / 0.6311 GB, free: 8.852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.8515, allocations: 293.1 kB / 0.6314 GB, free: 8.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.8515, allocations: 62.66 kB / 0.6315 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.8516, allocations: 4.062 kB / 0.6315 GB, free: 8.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8517, allocations: 346.1 kB / 0.6318 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.852, allocations: 164 kB / 0.632 GB, free: 8.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.8524, allocations: 429.8 kB / 0.6324 GB, free: 7.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.8527, allocations: 245.7 kB / 0.6326 GB, free: 7.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.8527, allocations: 4 kB / 0.6326 GB, free: 7.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00104/0.8538, allocations: 0.5616 MB / 0.6332 GB, free: 6.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.8538, allocations: 11.98 kB / 0.6332 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-05/0.8539, allocations: 43.97 kB / 0.6332 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/0.854, allocations: 16 kB / 0.6332 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.8543, allocations: 79.7 kB / 0.6333 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.8544, allocations: 23.83 kB / 0.6333 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.8548, allocations: 55.67 kB / 0.6334 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.8549, allocations: 35.92 kB / 0.6334 GB, free: 6.562 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0001771/0.8551, allocations: 139.8 kB / 0.6335 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.8552, allocations: 31.61 kB / 0.6336 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.8562, allocations: 0.5162 MB / 0.6341 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.8562, allocations: 4 kB / 0.6341 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8563, allocations: 0 / 0.6341 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8563, allocations: 4 kB / 0.6341 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.8569, allocations: 367.7 kB / 0.6344 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.843e-05/0.857, allocations: 39.97 kB / 0.6345 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.8571, allocations: 39.81 kB / 0.6345 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.8572, allocations: 4 kB / 0.6345 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.8572, allocations: 11.98 kB / 0.6345 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.8572, allocations: 4 kB / 0.6345 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8572, allocations: 0 / 0.6345 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000714/0.8579, allocations: 0.5803 MB / 0.6351 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00079/0.8587, allocations: 0.9604 MB / 0.636 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.8588, allocations: 104.7 kB / 0.6361 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.8589, allocations: 0 / 0.6361 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.8592, allocations: 31.97 kB / 0.6362 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.8593, allocations: 23.84 kB / 0.6362 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.8594, allocations: 8 kB / 0.6362 GB, free: 3.742 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001945/0.8596, allocations: 213.5 kB / 0.6364 GB, free: 3.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001627/0.8612, allocations: 253.8 kB / 0.6366 GB, free: 3.352 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 (17): * Single equations (assignments): 5 * 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.0005466/0.8617, allocations: 307.3 kB / 0.6369 GB, free: 3.055 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007677/0.8625, allocations: 0.6894 MB / 0.6376 GB, free: 2.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8625, allocations: 2.562 kB / 0.6376 GB, free: 2.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.8629, allocations: 459.5 kB / 0.638 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.8633, allocations: 36.17 kB / 0.6381 GB, free: 1.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.8649, allocations: 0.7064 MB / 0.6388 GB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.8655, allocations: 0.9371 MB / 0.6397 GB, free: 156 kB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.8655, allocations: 0 / 0.6397 GB, free: 156 kB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)