Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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 3.2.3+maint.om/package.mo): time 0.001364/0.001363, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009923, allocations: 96.06 kB / 261.4 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2488/0.4639, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.8617, allocations: 58.83 MB / 476.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/1.023, allocations: 100.3 MB / 0.5634 GB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/1.024, allocations: 95.94 kB / 0.5635 GB, free: 14.6 MB / 410.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.03909/1.063, allocations: 12.53 MB / 0.5757 GB, free: 1.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.063, allocations: 12 kB / 0.5758 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/1.063, allocations: 35.53 kB / 0.5758 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/1.064, allocations: 246.4 kB / 0.576 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.064, allocations: 12 kB / 0.576 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/1.064, allocations: 20 kB / 0.5761 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003937/1.064, allocations: 209.5 kB / 0.5763 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/1.065, allocations: 294.2 kB / 0.5765 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.065, allocations: 4 kB / 0.5765 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/1.065, allocations: 0 / 0.5765 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/1.065, allocations: 8 kB / 0.5765 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/1.066, allocations: 0.7929 MB / 0.5773 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/1.067, allocations: 78.48 kB / 0.5774 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/1.067, allocations: 32.91 kB / 0.5774 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/1.067, allocations: 4 kB / 0.5774 GB, free: 164 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.067, allocations: 30.56 kB / 0.5775 GB, free: 124 kB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/1.067, allocations: 0 / 0.5775 GB, free: 124 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003818/1.067, allocations: 121.4 kB / 0.5776 GB, free: 15.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.067, allocations: 55.34 kB / 0.5776 GB, free: 15.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/1.068, allocations: 219.2 kB / 0.5778 GB, free: 15.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.068, allocations: 25.7 kB / 0.5779 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/1.068, allocations: 243 kB / 0.5781 GB, free: 15.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/1.068, allocations: 31.55 kB / 0.5781 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/1.068, allocations: 3.938 kB / 0.5781 GB, free: 15.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/1.068, allocations: 338.8 kB / 0.5784 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/1.068, allocations: 40.27 kB / 0.5785 GB, free: 15.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/1.068, allocations: 222 kB / 0.5787 GB, free: 14.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/1.068, allocations: 83.89 kB / 0.5788 GB, free: 14.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.068, allocations: 7.938 kB / 0.5788 GB, free: 14.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005238/1.069, allocations: 265.5 kB / 0.579 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.069, allocations: 4 kB / 0.579 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/1.069, allocations: 27.98 kB / 0.5791 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.069, allocations: 8 kB / 0.5791 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.069, allocations: 63.89 kB / 0.5791 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/1.069, allocations: 15.92 kB / 0.5792 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/1.07, allocations: 35.88 kB / 0.5792 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/1.07, allocations: 28 kB / 0.5792 GB, free: 14.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001643/1.07, allocations: 122.2 kB / 0.5793 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/1.07, allocations: 27.66 kB / 0.5794 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/1.071, allocations: 207.1 kB / 0.5796 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.071, allocations: 0 / 0.5796 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.071, allocations: 0 / 0.5796 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.071, allocations: 0 / 0.5796 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/1.071, allocations: 250 kB / 0.5798 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/1.071, allocations: 19.98 kB / 0.5798 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/1.071, allocations: 15.98 kB / 0.5798 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/1.071, allocations: 4 kB / 0.5798 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.071, allocations: 7.938 kB / 0.5798 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.071, allocations: 0 / 0.5798 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.071, allocations: 3.906 kB / 0.5798 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003152/1.072, allocations: 207.2 kB / 0.58 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004568/1.072, allocations: 0.5933 MB / 0.5806 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/1.072, allocations: 104.7 kB / 0.5807 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/1.072, allocations: 0 / 0.5807 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/1.072, allocations: 11.98 kB / 0.5807 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/1.073, allocations: 4 kB / 0.5807 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/1.073, allocations: 8 kB / 0.5807 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00013/1.073, allocations: 167 kB / 0.5809 GB, free: 12.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001558/1.074, allocations: 155.6 kB / 0.5811 GB, free: 12.18 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009252/1.075, allocations: 280.9 kB / 0.5813 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006682/1.076, allocations: 268.3 kB / 0.5816 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.076, allocations: 4 kB / 0.5816 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/1.076, allocations: 170.7 kB / 0.5817 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/1.077, allocations: 20.89 kB / 0.5818 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/1.078, allocations: 333.3 kB / 0.5821 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/1.078, allocations: 0.8054 MB / 0.5829 GB, free: 10.21 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/1.078, allocations: 0 / 0.5829 GB, free: 10.21 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat