Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.001413/0.001413, allocations: 205.1 kB / 8.545 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.15/1.15, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.0008379, allocations: 95.05 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1679/0.1679, allocations: 45.15 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2014/0.3694, allocations: 69.4 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.462, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.7383, allocations: 95.23 MB / 0.5969 GB, free: 7.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.7386, allocations: 96.69 kB / 0.597 GB, free: 7.52 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.03276/0.7714, allocations: 13.06 MB / 0.6097 GB, free: 12.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7714, allocations: 8 kB / 0.6098 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.7718, allocations: 95.39 kB / 0.6098 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.7722, allocations: 288.8 kB / 0.6101 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.7722, allocations: 16 kB / 0.6101 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.7723, allocations: 24 kB / 0.6102 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005376/0.7728, allocations: 397.4 kB / 0.6105 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.7736, allocations: 0.5813 MB / 0.6111 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.7736, allocations: 0 / 0.6111 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.7736, allocations: 0 / 0.6111 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.7737, allocations: 24.98 kB / 0.6111 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.7755, allocations: 1.382 MB / 0.6125 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.7759, allocations: 280.4 kB / 0.6127 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.7761, allocations: 127.5 kB / 0.6129 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.7762, allocations: 20.03 kB / 0.6129 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.7762, allocations: 42 kB / 0.6129 GB, free: 9.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.7762, allocations: 0 / 0.6129 GB, free: 9.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006518/0.7769, allocations: 299.7 kB / 0.6132 GB, free: 8.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.7769, allocations: 102.8 kB / 0.6133 GB, free: 8.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.7771, allocations: 218.5 kB / 0.6135 GB, free: 8.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.7772, allocations: 25.7 kB / 0.6135 GB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.7773, allocations: 236.2 kB / 0.6138 GB, free: 8.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.7774, allocations: 77.06 kB / 0.6138 GB, free: 8.355 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.7774, allocations: 0 / 0.6138 GB, free: 8.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7775, allocations: 329.7 kB / 0.6142 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7777, allocations: 133.1 kB / 0.6143 GB, free: 7.914 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.778, allocations: 258.7 kB / 0.6145 GB, free: 7.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.7783, allocations: 165.7 kB / 0.6147 GB, free: 7.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7783, allocations: 7.938 kB / 0.6147 GB, free: 7.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000707/0.779, allocations: 411.4 kB / 0.6151 GB, free: 7.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.779, allocations: 4 kB / 0.6151 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.043e-05/0.7791, allocations: 35.97 kB / 0.6151 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.7791, allocations: 8 kB / 0.6151 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.7794, allocations: 55.48 kB / 0.6152 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.7794, allocations: 11.94 kB / 0.6152 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.7797, allocations: 43.72 kB / 0.6152 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.7797, allocations: 23.19 kB / 0.6153 GB, free: 6.93 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: 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 (33): * Single equations (assignments): 21 * 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.0001145/0.7799, allocations: 112.9 kB / 0.6154 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.78, allocations: 27.7 kB / 0.6154 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.7808, allocations: 478.5 kB / 0.6158 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.7808, allocations: 7.984 kB / 0.6159 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7809, allocations: 4 kB / 0.6159 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7809, allocations: 3.938 kB / 0.6159 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.7814, allocations: 351.6 kB / 0.6162 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.467e-05/0.7814, allocations: 31.97 kB / 0.6162 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.7816, allocations: 39.88 kB / 0.6163 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7816, allocations: 3.938 kB / 0.6163 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.7817, allocations: 11.98 kB / 0.6163 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7817, allocations: 4 kB / 0.6163 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7817, allocations: 4 kB / 0.6163 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005958/0.7823, allocations: 0.5678 MB / 0.6168 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007643/0.7831, allocations: 0.9471 MB / 0.6178 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.7831, allocations: 108.7 kB / 0.6179 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.7832, allocations: 0 / 0.6179 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.7835, allocations: 23.98 kB / 0.6179 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.7836, allocations: 23.22 kB / 0.6179 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.7836, allocations: 15.98 kB / 0.6179 GB, free: 4.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001352/0.7838, allocations: 165.1 kB / 0.6181 GB, free: 4.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001175/0.785, allocations: 165.8 kB / 0.6182 GB, free: 3.918 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 (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.0003337/0.7853, allocations: 208.9 kB / 0.6184 GB, free: 3.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.7859, allocations: 0.6126 MB / 0.619 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7859, allocations: 1.062 kB / 0.619 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.7863, allocations: 457.3 kB / 0.6195 GB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.7866, allocations: 27.58 kB / 0.6195 GB, free: 2.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.7881, allocations: 0.6261 MB / 0.6201 GB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.7886, allocations: 0.9008 MB / 0.621 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7886, allocations: 0 / 0.621 GB, free: 0.9922 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)