Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.001087/0.001087, allocations: 205.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009132/0.0009132, allocations: 95.19 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 45.13 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2124/0.4229, allocations: 69.39 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.518, allocations: 63.25 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/0.8138, allocations: 94.21 MB / 0.5959 GB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.8141, allocations: 100.8 kB / 0.596 GB, free: 8.508 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.03866/0.8528, allocations: 13.99 MB / 0.6096 GB, free: 12.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.8528, allocations: 8 kB / 0.6097 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.8533, allocations: 79.58 kB / 0.6097 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.8537, allocations: 257.6 kB / 0.61 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.8537, allocations: 8 kB / 0.61 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.8537, allocations: 16 kB / 0.61 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003735/0.8541, allocations: 244.2 kB / 0.6102 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.8546, allocations: 381.3 kB / 0.6106 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8547, allocations: 0 / 0.6106 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.8547, allocations: 4 kB / 0.6106 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.8548, allocations: 12.66 kB / 0.6106 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.8561, allocations: 1.019 MB / 0.6116 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.8564, allocations: 220.3 kB / 0.6118 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.8566, allocations: 81.84 kB / 0.6119 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.8566, allocations: 7.984 kB / 0.6119 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.8567, allocations: 46.09 kB / 0.6119 GB, free: 10.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.8567, allocations: 0 / 0.6119 GB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000458/0.8571, allocations: 199.5 kB / 0.6121 GB, free: 10.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.8572, allocations: 110.1 kB / 0.6122 GB, free: 10.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.8574, allocations: 218 kB / 0.6124 GB, free: 9.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.8574, allocations: 25.7 kB / 0.6125 GB, free: 9.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.8576, allocations: 193.1 kB / 0.6127 GB, free: 9.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.8576, allocations: 42.98 kB / 0.6127 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.8576, allocations: 4 kB / 0.6127 GB, free: 9.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8577, allocations: 328.7 kB / 0.613 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.8579, allocations: 97.47 kB / 0.6131 GB, free: 9.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.8581, allocations: 202.4 kB / 0.6133 GB, free: 9.098 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.8583, allocations: 128.8 kB / 0.6134 GB, free: 8.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.8583, allocations: 3.906 kB / 0.6134 GB, free: 8.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005569/0.8589, allocations: 316 kB / 0.6137 GB, free: 8.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8589, allocations: 7.984 kB / 0.6137 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/0.859, allocations: 26.92 kB / 0.6138 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.859, allocations: 4 kB / 0.6138 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.8593, allocations: 56.44 kB / 0.6138 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.8593, allocations: 11.98 kB / 0.6138 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.8596, allocations: 43.73 kB / 0.6139 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.8596, allocations: 19.55 kB / 0.6139 GB, free: 8.535 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000101/0.8597, allocations: 118.3 kB / 0.614 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.8598, allocations: 23.66 kB / 0.614 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.8604, allocations: 287.1 kB / 0.6143 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.8604, allocations: 4 kB / 0.6143 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8604, allocations: 3.984 kB / 0.6143 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8604, allocations: 4 kB / 0.6143 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.8609, allocations: 267.1 kB / 0.6146 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.8609, allocations: 19.98 kB / 0.6146 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.8611, allocations: 31.97 kB / 0.6146 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.8611, allocations: 0 / 0.6146 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.8612, allocations: 23.33 kB / 0.6146 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.8612, allocations: 4 kB / 0.6146 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8612, allocations: 0 / 0.6146 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004311/0.8616, allocations: 468.2 kB / 0.6151 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005288/0.8621, allocations: 0.8484 MB / 0.6159 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.8622, allocations: 92.83 kB / 0.616 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.8623, allocations: 4 kB / 0.616 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.8626, allocations: 27.97 kB / 0.616 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.8627, allocations: 19.36 kB / 0.6161 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.8627, allocations: 4 kB / 0.6161 GB, free: 6.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000153/0.8628, allocations: 177.3 kB / 0.6162 GB, free: 6.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00113/0.864, allocations: 118.9 kB / 0.6163 GB, free: 6.035 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003651/0.8644, allocations: 192.6 kB / 0.6165 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.8648, allocations: 373.3 kB / 0.6169 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8648, allocations: 0 / 0.6169 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.8651, allocations: 243.8 kB / 0.6171 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.8654, allocations: 28.56 kB / 0.6171 GB, free: 5.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8664, allocations: 426.1 kB / 0.6175 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.8669, allocations: 0.8352 MB / 0.6184 GB, free: 3.902 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.8669, allocations: 0 / 0.6184 GB, free: 3.902 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)