Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 184.1 kB / 8.52 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 92.22 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1578/0.1578, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.34, allocations: 68.06 MB / 444.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.4339, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2678/0.7018, allocations: 99.59 MB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.702, allocations: 99.75 kB / 0.5916 GB, free: 13.03 MB / 410.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.06523/0.7673, allocations: 24.91 MB / 0.6159 GB, free: 3.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7673, allocations: 11.94 kB / 0.6159 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.7674, allocations: 55.34 kB / 0.6159 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.7679, allocations: 302.3 kB / 0.6162 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.7679, allocations: 23.98 kB / 0.6163 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.768, allocations: 31.91 kB / 0.6163 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006673/0.7687, allocations: 478.3 kB / 0.6167 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.7695, allocations: 0.6657 MB / 0.6174 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7696, allocations: 0 / 0.6174 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.7696, allocations: 0 / 0.6174 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.7696, allocations: 25.31 kB / 0.6174 GB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.7718, allocations: 1.55 MB / 0.6189 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.7722, allocations: 275.6 kB / 0.6192 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.7724, allocations: 130.5 kB / 0.6193 GB, free: 220 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.7724, allocations: 15.98 kB / 0.6193 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.7724, allocations: 38.62 kB / 0.6194 GB, free: 156 kB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.7725, allocations: 0 / 0.6194 GB, free: 156 kB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006677/0.7731, allocations: 311.2 kB / 0.6197 GB, free: 15.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.7732, allocations: 106.8 kB / 0.6198 GB, free: 15.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.7735, allocations: 307.3 kB / 0.6201 GB, free: 15.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.7735, allocations: 37.7 kB / 0.6201 GB, free: 15.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.7736, allocations: 290.5 kB / 0.6204 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.7737, allocations: 67.09 kB / 0.6204 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.7737, allocations: 0 / 0.6204 GB, free: 15.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7739, allocations: 342.7 kB / 0.6208 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.7741, allocations: 164.9 kB / 0.6209 GB, free: 14.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.7745, allocations: 427.7 kB / 0.6213 GB, free: 13.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.7748, allocations: 247.7 kB / 0.6216 GB, free: 13.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7748, allocations: 0 / 0.6216 GB, free: 13.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008858/0.7757, allocations: 0.566 MB / 0.6221 GB, free: 13.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7757, allocations: 11.92 kB / 0.6221 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-05/0.7758, allocations: 47.97 kB / 0.6222 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.7759, allocations: 12 kB / 0.6222 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.7762, allocations: 88.45 kB / 0.6223 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.7762, allocations: 19.92 kB / 0.6223 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.7766, allocations: 59.58 kB / 0.6223 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.7767, allocations: 35.98 kB / 0.6224 GB, free: 12.88 MB / 442.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.0001205/0.7768, allocations: 139.9 kB / 0.6225 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.7769, allocations: 31.61 kB / 0.6225 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/0.7778, allocations: 0.5085 MB / 0.623 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.7779, allocations: 4 kB / 0.623 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7779, allocations: 0 / 0.623 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.7779, allocations: 4 kB / 0.623 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.7784, allocations: 373.8 kB / 0.6234 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.309e-05/0.7785, allocations: 35.97 kB / 0.6234 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.7787, allocations: 35.97 kB / 0.6235 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.7787, allocations: 7.906 kB / 0.6235 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.7787, allocations: 19.92 kB / 0.6235 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7787, allocations: 0 / 0.6235 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7787, allocations: 0 / 0.6235 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006374/0.7794, allocations: 0.5755 MB / 0.6241 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006946/0.7801, allocations: 0.9495 MB / 0.625 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.7802, allocations: 112.7 kB / 0.6251 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.7802, allocations: 0 / 0.6251 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.7805, allocations: 27.97 kB / 0.6251 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.7806, allocations: 19.97 kB / 0.6251 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.7807, allocations: 12 kB / 0.6252 GB, free: 9.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001835/0.7809, allocations: 219.1 kB / 0.6254 GB, free: 9.699 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001415/0.7823, allocations: 223.3 kB / 0.6256 GB, free: 9.48 MB / 442.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.0005498/0.7828, allocations: 296.8 kB / 0.6259 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.7836, allocations: 0.6854 MB / 0.6265 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7836, allocations: 3.938 kB / 0.6265 GB, free: 8.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.784, allocations: 453 kB / 0.627 GB, free: 7.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.7844, allocations: 40.61 kB / 0.627 GB, free: 7.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.786, allocations: 0.6985 MB / 0.6277 GB, free: 7.141 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.7866, allocations: 0.935 MB / 0.6286 GB, free: 6.176 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7866, allocations: 0 / 0.6286 GB, free: 6.176 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)