Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",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.001576/0.001576, allocations: 201.6 kB / 8.539 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.193/1.193, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009053/0.0009055, allocations: 93.73 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1697/0.1697, allocations: 45.13 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2087/0.3785, allocations: 69.39 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.4697, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/0.7424, allocations: 100.3 MB / 0.6018 GB, free: 2.504 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.7427, allocations: 98.14 kB / 0.6019 GB, free: 2.453 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.03431/0.777, allocations: 11.87 MB / 0.6135 GB, free: 8.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.7771, allocations: 16 kB / 0.6135 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.7771, allocations: 35.53 kB / 0.6136 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.7774, allocations: 237.4 kB / 0.6138 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.7775, allocations: 12 kB / 0.6138 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.7775, allocations: 20 kB / 0.6138 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003203/0.7778, allocations: 229.6 kB / 0.6141 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.7783, allocations: 0.5009 MB / 0.6145 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.7784, allocations: 3.938 kB / 0.6146 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.7784, allocations: 4 kB / 0.6146 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7784, allocations: 12 kB / 0.6146 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.7805, allocations: 3.957 MB / 0.6184 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.7807, allocations: 89.17 kB / 0.6185 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.7808, allocations: 24.66 kB / 0.6185 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.7809, allocations: 8.047 kB / 0.6185 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.7809, allocations: 38.69 kB / 0.6186 GB, free: 3.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7809, allocations: 0 / 0.6186 GB, free: 3.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002546/0.7811, allocations: 93.11 kB / 0.6187 GB, free: 3.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.7812, allocations: 55.41 kB / 0.6187 GB, free: 3.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.7814, allocations: 230.1 kB / 0.6189 GB, free: 3.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.7814, allocations: 25.7 kB / 0.619 GB, free: 3.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.7815, allocations: 252.8 kB / 0.6192 GB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.7816, allocations: 22.33 kB / 0.6192 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.7816, allocations: 0 / 0.6192 GB, free: 2.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7817, allocations: 347.2 kB / 0.6196 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.7818, allocations: 34.28 kB / 0.6196 GB, free: 2.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.782, allocations: 239.6 kB / 0.6198 GB, free: 2.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.7821, allocations: 78.59 kB / 0.6199 GB, free: 2.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7821, allocations: 0 / 0.6199 GB, free: 2.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004254/0.7825, allocations: 259.9 kB / 0.6201 GB, free: 1.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7826, allocations: 4.938 kB / 0.6202 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7826, allocations: 8 kB / 0.6202 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.7826, allocations: 8 kB / 0.6202 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.783, allocations: 119.5 kB / 0.6203 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006958/0.7838, allocations: 1.225 MB / 0.6215 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.784, allocations: 51.08 kB / 0.6215 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.7841, allocations: 16 kB / 0.6215 GB, free: 364 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/0.7842, allocations: 124.2 kB / 0.6217 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.7842, allocations: 23.62 kB / 0.6217 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.7846, allocations: 156.1 kB / 0.6218 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7846, allocations: 4 kB / 0.6218 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7846, allocations: 0 / 0.6218 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7846, allocations: 7.984 kB / 0.6218 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.7849, allocations: 242.6 kB / 0.6221 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7849, allocations: 0 / 0.6221 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.7852, allocations: 51.97 kB / 0.6221 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7852, allocations: 0 / 0.6221 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.7852, allocations: 3.625 kB / 0.6221 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006561/0.7859, allocations: 1.216 MB / 0.6233 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7859, allocations: 4.031 kB / 0.6233 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002115/0.7861, allocations: 186.9 kB / 0.6235 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003177/0.7864, allocations: 0.5785 MB / 0.6241 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.7865, allocations: 96.83 kB / 0.6242 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.7865, allocations: 0 / 0.6242 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7867, allocations: 7.984 kB / 0.6242 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.7868, allocations: 15.98 kB / 0.6242 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.7868, allocations: 4 kB / 0.6242 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001253/0.7869, allocations: 166.7 kB / 0.6243 GB, free: 13.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001133/0.788, allocations: 152.1 kB / 0.6245 GB, free: 13.32 MB / 426.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004771/0.7885, allocations: 268.9 kB / 0.6247 GB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.789, allocations: 172.5 kB / 0.6249 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.789, allocations: 2 kB / 0.6249 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.7893, allocations: 66.53 kB / 0.625 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.7895, allocations: 15.34 kB / 0.625 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.7901, allocations: 287.8 kB / 0.6253 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.7905, allocations: 0.8085 MB / 0.626 GB, free: 11.71 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7905, allocations: 0 / 0.626 GB, free: 11.71 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat