Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 181.9 kB / 8.52 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 96.67 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1667/0.1667, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1969/0.3636, allocations: 68.05 MB / 444.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.4697, allocations: 61.91 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2877/0.7574, allocations: 93.74 MB / 0.5857 GB, free: 2.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.7577, allocations: 95.55 kB / 0.5858 GB, free: 2.855 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.03763/0.7953, allocations: 14.71 MB / 0.6002 GB, free: 3.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.7954, allocations: 19.88 kB / 0.6002 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.7955, allocations: 55.34 kB / 0.6003 GB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.7959, allocations: 295 kB / 0.6006 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.7959, allocations: 19.94 kB / 0.6006 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.796, allocations: 31.91 kB / 0.6006 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008452/0.7969, allocations: 0.6506 MB / 0.6012 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.7977, allocations: 0.6129 MB / 0.6018 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.7978, allocations: 0 / 0.6018 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.7978, allocations: 0 / 0.6018 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.7979, allocations: 45.28 kB / 0.6019 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.8, allocations: 1.315 MB / 0.6032 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.8008, allocations: 0.5603 MB / 0.6037 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.8011, allocations: 176.5 kB / 0.6039 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.8011, allocations: 16.06 kB / 0.6039 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.8011, allocations: 34.56 kB / 0.6039 GB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.8011, allocations: 0 / 0.6039 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007209/0.8019, allocations: 429.5 kB / 0.6043 GB, free: 15.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.8019, allocations: 59.39 kB / 0.6044 GB, free: 15.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.8021, allocations: 178.5 kB / 0.6046 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.8021, allocations: 25.7 kB / 0.6046 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.8022, allocations: 228.2 kB / 0.6048 GB, free: 15.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.8023, allocations: 130.1 kB / 0.6049 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.8024, allocations: 0 / 0.6049 GB, free: 14.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8025, allocations: 330.8 kB / 0.6052 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.8028, allocations: 176.7 kB / 0.6054 GB, free: 14.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.8031, allocations: 266.5 kB / 0.6057 GB, free: 14.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.8034, allocations: 228 kB / 0.6059 GB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8034, allocations: 0 / 0.6059 GB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007596/0.8042, allocations: 0.5005 MB / 0.6064 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.8042, allocations: 8 kB / 0.6064 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8042, allocations: 0 / 0.6064 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.8042, allocations: 8 kB / 0.6064 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8054, allocations: 211.8 kB / 0.6066 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.8093, allocations: 7.423 MB / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.8096, allocations: 27.77 kB / 0.6139 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.8096, allocations: 23.98 kB / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * 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): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.8098, allocations: 116.9 kB / 0.614 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.8098, allocations: 23.72 kB / 0.614 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.8109, allocations: 0.6322 MB / 0.6146 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8109, allocations: 7.938 kB / 0.6146 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8109, allocations: 0 / 0.6146 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.811, allocations: 3.984 kB / 0.6147 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.8115, allocations: 409.4 kB / 0.615 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8115, allocations: 0 / 0.615 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8125, allocations: 207.8 kB / 0.6152 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8125, allocations: 0 / 0.6152 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.8125, allocations: 15.98 kB / 0.6153 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.8165, allocations: 7.399 MB / 0.6225 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8166, allocations: 0 / 0.6225 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006936/0.8173, allocations: 0.5392 MB / 0.623 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008351/0.8181, allocations: 0.9024 MB / 0.6239 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.8182, allocations: 104.8 kB / 0.624 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.8182, allocations: 4 kB / 0.624 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.8185, allocations: 15.98 kB / 0.624 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.8186, allocations: 27.95 kB / 0.624 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.8186, allocations: 19.98 kB / 0.6241 GB, free: 10.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.352e-05/0.8187, allocations: 124.1 kB / 0.6242 GB, free: 10.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001145/0.8199, allocations: 163.4 kB / 0.6243 GB, free: 10.29 MB / 442.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003438/0.8202, allocations: 200.9 kB / 0.6245 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.8219, allocations: 0.5894 MB / 0.6251 GB, free: 9.492 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8219, allocations: 0 / 0.6251 GB, free: 9.492 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.8232, allocations: 383.6 kB / 0.6255 GB, free: 9.117 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.8235, allocations: 20.98 kB / 0.6255 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.8252, allocations: 0.6855 MB / 0.6262 GB, free: 8.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.8259, allocations: 0.9589 MB / 0.6271 GB, free: 7.391 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8259, allocations: 3.938 kB / 0.6271 GB, free: 7.387 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat