Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001164/0.001164, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008808/0.0008809, allocations: 95.97 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1682/0.1682, allocations: 45.14 MB / 383.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2018/0.37, allocations: 69.39 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.4597, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.7278, allocations: 96.04 MB / 0.5977 GB, free: 7.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.7281, allocations: 101.9 kB / 0.5978 GB, free: 6.961 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.02157/0.7497, allocations: 8.237 MB / 0.6058 GB, free: 264 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7497, allocations: 12 kB / 0.6058 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.7498, allocations: 19.72 kB / 0.6058 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.75, allocations: 217.9 kB / 0.6061 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.75, allocations: 8 kB / 0.6061 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.75, allocations: 8 kB / 0.6061 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001734/0.7502, allocations: 109.3 kB / 0.6062 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7504, allocations: 167 kB / 0.6063 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7504, allocations: 4 kB / 0.6063 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.7505, allocations: 0 / 0.6063 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7505, allocations: 4 kB / 0.6063 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.7512, allocations: 0.5132 MB / 0.6068 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.7514, allocations: 46.02 kB / 0.6069 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.7514, allocations: 24.64 kB / 0.6069 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.7515, allocations: 3.906 kB / 0.6069 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.7515, allocations: 30.56 kB / 0.6069 GB, free: 15.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.7515, allocations: 4 kB / 0.6069 GB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000244/0.7518, allocations: 76.56 kB / 0.607 GB, free: 15.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.7518, allocations: 51.41 kB / 0.6071 GB, free: 15.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.7519, allocations: 156.2 kB / 0.6072 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.752, allocations: 25.7 kB / 0.6072 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.752, allocations: 165.2 kB / 0.6074 GB, free: 14.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.7521, allocations: 23.61 kB / 0.6074 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.7521, allocations: 3.938 kB / 0.6074 GB, free: 14.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7522, allocations: 322.6 kB / 0.6077 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.7523, allocations: 27.19 kB / 0.6078 GB, free: 14.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.7524, allocations: 107.2 kB / 0.6079 GB, free: 14.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.7525, allocations: 43.36 kB / 0.6079 GB, free: 14.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7525, allocations: 4 kB / 0.6079 GB, free: 14.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000246/0.7527, allocations: 146.6 kB / 0.608 GB, free: 14.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7528, allocations: 4 kB / 0.6081 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.7528, allocations: 12 kB / 0.6081 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7528, allocations: 4.438 kB / 0.6081 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.753, allocations: 43.91 kB / 0.6081 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.753, allocations: 7.938 kB / 0.6081 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.7531, allocations: 23.83 kB / 0.6081 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.7531, allocations: 15.94 kB / 0.6082 GB, free: 13.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.536e-05/0.7532, allocations: 116.8 kB / 0.6083 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.7533, allocations: 7.906 kB / 0.6083 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.7536, allocations: 129.3 kB / 0.6084 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7536, allocations: 0 / 0.6084 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7536, allocations: 0 / 0.6084 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7536, allocations: 0 / 0.6084 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.7538, allocations: 194.7 kB / 0.6086 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.7538, allocations: 12 kB / 0.6086 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.7539, allocations: 15.89 kB / 0.6086 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7539, allocations: 0 / 0.6086 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.7539, allocations: 4 kB / 0.6086 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7539, allocations: 0 / 0.6086 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7539, allocations: 3.938 kB / 0.6086 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001664/0.7541, allocations: 178 kB / 0.6088 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002419/0.7544, allocations: 0.5441 MB / 0.6093 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.7544, allocations: 88.86 kB / 0.6094 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.7544, allocations: 7.984 kB / 0.6094 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.7546, allocations: 11.5 kB / 0.6094 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.7546, allocations: 7.984 kB / 0.6094 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.7546, allocations: 4 kB / 0.6094 GB, free: 12.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.526e-05/0.7547, allocations: 124.8 kB / 0.6096 GB, free: 12.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.7557, allocations: 87.55 kB / 0.6096 GB, free: 12.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003228/0.756, allocations: 214.8 kB / 0.6098 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.7563, allocations: 140.8 kB / 0.61 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7563, allocations: 0 / 0.61 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.7564, allocations: 97.36 kB / 0.6101 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.7566, allocations: 8.016 kB / 0.6101 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.7572, allocations: 201.8 kB / 0.6103 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.7575, allocations: 0.7527 MB / 0.611 GB, free: 10.91 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7575, allocations: 3.938 kB / 0.611 GB, free: 10.91 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat