Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001036/0.001036, allocations: 195.1 kB / 8.537 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.159/1.159, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009071/0.0009072, allocations: 89.59 kB / 286.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1663/0.1663, allocations: 45.15 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2075/0.3738, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.4615, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.7407, allocations: 95.44 MB / 0.5971 GB, free: 7.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.741, allocations: 94.58 kB / 0.5972 GB, free: 7.281 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.03749/0.7785, allocations: 14.43 MB / 0.6113 GB, free: 10.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.7786, allocations: 12 kB / 0.6113 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.779, allocations: 90.8 kB / 0.6114 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.7794, allocations: 277.2 kB / 0.6116 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.7794, allocations: 12 kB / 0.6116 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.7794, allocations: 24 kB / 0.6117 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004812/0.7799, allocations: 334.4 kB / 0.612 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.7805, allocations: 493.9 kB / 0.6124 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7806, allocations: 0 / 0.6124 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.7806, allocations: 4 kB / 0.6124 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.7806, allocations: 21.53 kB / 0.6125 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.7823, allocations: 1.166 MB / 0.6136 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.7827, allocations: 282.1 kB / 0.6139 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.7829, allocations: 131.6 kB / 0.614 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.7829, allocations: 11.98 kB / 0.614 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.783, allocations: 38 kB / 0.6141 GB, free: 8.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.783, allocations: 0 / 0.6141 GB, free: 8.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006248/0.7836, allocations: 307.6 kB / 0.6143 GB, free: 8.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.7837, allocations: 110.9 kB / 0.6144 GB, free: 7.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.7839, allocations: 206 kB / 0.6146 GB, free: 7.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.7839, allocations: 25.7 kB / 0.6147 GB, free: 7.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.784, allocations: 204 kB / 0.6149 GB, free: 7.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.7841, allocations: 57.92 kB / 0.6149 GB, free: 7.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.7841, allocations: 0 / 0.6149 GB, free: 7.426 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7842, allocations: 336.7 kB / 0.6152 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.7844, allocations: 117.1 kB / 0.6154 GB, free: 6.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.7847, allocations: 196.7 kB / 0.6155 GB, free: 6.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.7849, allocations: 148.5 kB / 0.6157 GB, free: 6.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7849, allocations: 0 / 0.6157 GB, free: 6.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005822/0.7855, allocations: 376.5 kB / 0.616 GB, free: 6.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7855, allocations: 4 kB / 0.616 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.757e-05/0.7856, allocations: 27.98 kB / 0.6161 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7856, allocations: 4 kB / 0.6161 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7858, allocations: 47.92 kB / 0.6161 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7859, allocations: 4 kB / 0.6161 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.7861, allocations: 31.83 kB / 0.6162 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.7861, allocations: 19.42 kB / 0.6162 GB, free: 6.191 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001032/0.7862, allocations: 118.2 kB / 0.6163 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.7864, allocations: 19.72 kB / 0.6163 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008087/0.7872, allocations: 463.3 kB / 0.6167 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7872, allocations: 0 / 0.6167 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7872, allocations: 4 kB / 0.6168 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7872, allocations: 0 / 0.6168 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.7877, allocations: 345 kB / 0.6171 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.346e-05/0.7878, allocations: 35.97 kB / 0.6171 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.7879, allocations: 27.97 kB / 0.6171 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.788, allocations: 4 kB / 0.6171 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.788, allocations: 4 kB / 0.6171 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.788, allocations: 12 kB / 0.6172 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.788, allocations: 0 / 0.6172 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005839/0.7886, allocations: 0.5664 MB / 0.6177 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000711/0.7893, allocations: 0.9398 MB / 0.6186 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.7894, allocations: 100.1 kB / 0.6187 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.7894, allocations: 7.938 kB / 0.6187 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.7897, allocations: 23.98 kB / 0.6188 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.7898, allocations: 15.97 kB / 0.6188 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.7898, allocations: 15.09 kB / 0.6188 GB, free: 3.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001282/0.79, allocations: 169.2 kB / 0.6189 GB, free: 3.406 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001157/0.7911, allocations: 153.8 kB / 0.6191 GB, free: 3.266 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000392/0.7915, allocations: 220.5 kB / 0.6193 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.7921, allocations: 0.5223 MB / 0.6198 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7922, allocations: 0 / 0.6198 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.7925, allocations: 376.6 kB / 0.6202 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.7928, allocations: 20.8 kB / 0.6202 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.794, allocations: 0.5383 MB / 0.6207 GB, free: 1.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.7945, allocations: 0.8748 MB / 0.6216 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.7945, allocations: 4 kB / 0.6216 GB, free: 0.6602 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)