Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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 trunk/package.mo): time 0.001737/0.001737, allocations: 202.1 kB / 8.543 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008673/0.0008674, allocations: 90.8 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1676/0.1676, allocations: 45.15 MB / 383.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.214/0.3816, allocations: 69.39 MB / 452.7 MB, free: 76.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.4735, allocations: 63.24 MB / 0.5039 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.7565, allocations: 93.88 MB / 0.5956 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.7568, allocations: 97.77 kB / 0.5957 GB, free: 8.723 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.02674/0.7835, allocations: 9.547 MB / 0.605 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7836, allocations: 8 kB / 0.605 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.784, allocations: 67.67 kB / 0.6051 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.7842, allocations: 223.4 kB / 0.6053 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.7843, allocations: 4 kB / 0.6053 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.7843, allocations: 8 kB / 0.6053 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002563/0.7846, allocations: 145.1 kB / 0.6054 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.7849, allocations: 222.4 kB / 0.6056 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7849, allocations: 0 / 0.6056 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.7849, allocations: 3.984 kB / 0.6056 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.785, allocations: 12.23 kB / 0.6056 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.786, allocations: 0.7742 MB / 0.6064 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.7863, allocations: 161.2 kB / 0.6066 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.7864, allocations: 81.38 kB / 0.6066 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.7864, allocations: 4 kB / 0.6066 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7865, allocations: 34.56 kB / 0.6067 GB, free: 14.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.7865, allocations: 0 / 0.6067 GB, free: 14.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004346/0.7869, allocations: 175.2 kB / 0.6068 GB, free: 14.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.787, allocations: 110.7 kB / 0.6069 GB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.7871, allocations: 172 kB / 0.6071 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.7872, allocations: 25.7 kB / 0.6071 GB, free: 14.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.7873, allocations: 135.2 kB / 0.6073 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.7873, allocations: 35.2 kB / 0.6073 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.7873, allocations: 96 / 0.6073 GB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7874, allocations: 329.4 kB / 0.6076 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.7876, allocations: 67.5 kB / 0.6077 GB, free: 13.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.7877, allocations: 106.7 kB / 0.6078 GB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.7878, allocations: 85.05 kB / 0.6079 GB, free: 13.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7879, allocations: 3.938 kB / 0.6079 GB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000356/0.7882, allocations: 206 kB / 0.6081 GB, free: 13.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7882, allocations: 7.938 kB / 0.6081 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.7883, allocations: 11.98 kB / 0.6081 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7883, allocations: 8.156 kB / 0.6081 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.7886, allocations: 43.59 kB / 0.6081 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.7886, allocations: 0 / 0.6081 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.7889, allocations: 39.81 kB / 0.6082 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.7889, allocations: 11.98 kB / 0.6082 GB, free: 13.38 MB / 410.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 9.311e-05/0.789, allocations: 108.9 kB / 0.6083 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/0.7891, allocations: 27.8 kB / 0.6083 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.7895, allocations: 210 kB / 0.6085 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.7895, allocations: 4 kB / 0.6085 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.7895, allocations: 3.984 kB / 0.6085 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7895, allocations: 0 / 0.6085 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.7899, allocations: 231.3 kB / 0.6087 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.7899, allocations: 4 kB / 0.6087 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.7901, allocations: 43.95 kB / 0.6088 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7901, allocations: 0 / 0.6088 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.7902, allocations: 7.875 kB / 0.6088 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7902, allocations: 0 / 0.6088 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7902, allocations: 4.094 kB / 0.6088 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004134/0.7906, allocations: 450.9 kB / 0.6092 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005141/0.7911, allocations: 0.8138 MB / 0.61 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.7912, allocations: 96.86 kB / 0.6101 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.7912, allocations: 0 / 0.6101 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.7915, allocations: 27.97 kB / 0.6101 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.7916, allocations: 15.92 kB / 0.6101 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.7916, allocations: 4 kB / 0.6101 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001079/0.7918, allocations: 139.1 kB / 0.6103 GB, free: 11.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001061/0.7928, allocations: 114.8 kB / 0.6104 GB, free: 11.08 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.0003999/0.7932, allocations: 220.5 kB / 0.6106 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.7936, allocations: 230.7 kB / 0.6108 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7936, allocations: 3.25 kB / 0.6108 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.7938, allocations: 152.7 kB / 0.611 GB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.7941, allocations: 31.11 kB / 0.611 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.795, allocations: 300.8 kB / 0.6113 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.7955, allocations: 0.7772 MB / 0.612 GB, free: 9.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7955, allocations: 0 / 0.612 GB, free: 9.34 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1)