Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.0009855/0.0009855, allocations: 205 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.17/1.17, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008932/0.0008933, allocations: 89.45 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1738/0.1738, allocations: 45.14 MB / 383.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2213/0.3952, allocations: 69.4 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.4903, allocations: 63.24 MB / 0.5039 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2806/0.7709, allocations: 92.07 MB / 0.5938 GB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.7712, allocations: 100.3 kB / 0.5939 GB, free: 10.57 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.01881/0.79, allocations: 6.678 MB / 0.6004 GB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.79, allocations: 8 kB / 0.6004 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.7904, allocations: 71.05 kB / 0.6005 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.7907, allocations: 219.7 kB / 0.6007 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.7907, allocations: 8 kB / 0.6007 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.7907, allocations: 8 kB / 0.6007 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002423/0.791, allocations: 142.3 kB / 0.6009 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.7913, allocations: 225.2 kB / 0.6011 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.7913, allocations: 0 / 0.6011 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.7913, allocations: 0 / 0.6011 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.7913, allocations: 20.16 kB / 0.6011 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.7924, allocations: 0.7683 MB / 0.6018 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.7926, allocations: 168.2 kB / 0.602 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.7927, allocations: 76.16 kB / 0.6021 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.7928, allocations: 8 kB / 0.6021 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.7928, allocations: 33.69 kB / 0.6021 GB, free: 3.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.7928, allocations: 0 / 0.6021 GB, free: 3.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004382/0.7932, allocations: 171.2 kB / 0.6023 GB, free: 2.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.7933, allocations: 109.8 kB / 0.6024 GB, free: 2.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.7935, allocations: 177.3 kB / 0.6026 GB, free: 2.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.7935, allocations: 25.7 kB / 0.6026 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.7936, allocations: 126.8 kB / 0.6027 GB, free: 2.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.7937, allocations: 42.27 kB / 0.6027 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.7937, allocations: 0 / 0.6027 GB, free: 2.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7939, allocations: 329.3 kB / 0.6031 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.794, allocations: 67.25 kB / 0.6031 GB, free: 2.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.7942, allocations: 111.3 kB / 0.6032 GB, free: 1.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.7943, allocations: 83.5 kB / 0.6033 GB, free: 1.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.7943, allocations: 0 / 0.6033 GB, free: 1.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003431/0.7947, allocations: 214.2 kB / 0.6035 GB, free: 1.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.7947, allocations: 8.031 kB / 0.6035 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.7947, allocations: 8 kB / 0.6035 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7947, allocations: 4 kB / 0.6035 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.795, allocations: 43.95 kB / 0.6036 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.795, allocations: 4 kB / 0.6036 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.7953, allocations: 35.81 kB / 0.6036 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.7953, allocations: 11.19 kB / 0.6036 GB, free: 1.578 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 7.938e-05/0.7954, allocations: 112.8 kB / 0.6037 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.7955, allocations: 11.91 kB / 0.6037 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.7958, allocations: 211.7 kB / 0.6039 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.7959, allocations: 4 kB / 0.6039 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7959, allocations: 0 / 0.6039 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7959, allocations: 0 / 0.6039 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.7962, allocations: 235.8 kB / 0.6042 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.7962, allocations: 7.984 kB / 0.6042 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.7965, allocations: 43.53 kB / 0.6042 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7965, allocations: 0 / 0.6042 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.7965, allocations: 8.078 kB / 0.6042 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7965, allocations: 3.938 kB / 0.6042 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7965, allocations: 4 kB / 0.6042 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003792/0.7969, allocations: 451.5 kB / 0.6047 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004157/0.7973, allocations: 0.8037 MB / 0.6054 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.7974, allocations: 96.91 kB / 0.6055 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.7974, allocations: 0 / 0.6055 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.7977, allocations: 23.98 kB / 0.6056 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.7978, allocations: 19.91 kB / 0.6056 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.7978, allocations: 4 kB / 0.6056 GB, free: 15.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.342e-05/0.7979, allocations: 142.9 kB / 0.6057 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000992/0.7989, allocations: 83.17 kB / 0.6058 GB, free: 15.31 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002862/0.7992, allocations: 170.6 kB / 0.606 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.7995, allocations: 226.9 kB / 0.6062 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7996, allocations: 0 / 0.6062 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.7998, allocations: 158.9 kB / 0.6063 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.8001, allocations: 24.66 kB / 0.6064 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.8009, allocations: 294.5 kB / 0.6066 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.8014, allocations: 0.7693 MB / 0.6074 GB, free: 13.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8014, allocations: 4.375 kB / 0.6074 GB, free: 13.63 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1)