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_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.0009748/0.0009748, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.625 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.0009003/0.0009003, allocations: 90.36 kB / 281.2 MB, free: 5.449 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.16/0.16, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1836/0.3436, allocations: 68.05 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.4337, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2592/0.6929, allocations: 97.99 MB / 0.5899 GB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.6932, allocations: 100.4 kB / 0.59 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.05553/0.7487, allocations: 21 MB / 0.6105 GB, free: 9.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7488, allocations: 11.94 kB / 0.6105 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.7489, allocations: 59.34 kB / 0.6106 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.7494, allocations: 310.8 kB / 0.6109 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.7494, allocations: 20 kB / 0.6109 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/0.7495, allocations: 31.91 kB / 0.6109 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008201/0.7504, allocations: 0.6467 MB / 0.6115 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.7512, allocations: 0.6129 MB / 0.6121 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.7512, allocations: 0 / 0.6121 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.7513, allocations: 3.938 kB / 0.6121 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.7513, allocations: 45.28 kB / 0.6122 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.7534, allocations: 1.315 MB / 0.6135 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.7542, allocations: 0.5526 MB / 0.614 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.7544, allocations: 180.5 kB / 0.6142 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.7545, allocations: 7.984 kB / 0.6142 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.7545, allocations: 38.56 kB / 0.6142 GB, free: 5.406 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.7545, allocations: 0 / 0.6142 GB, free: 5.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007311/0.7552, allocations: 433.5 kB / 0.6146 GB, free: 4.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.7553, allocations: 55.41 kB / 0.6147 GB, free: 4.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.7555, allocations: 194.8 kB / 0.6149 GB, free: 4.711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.7555, allocations: 25.7 kB / 0.6149 GB, free: 4.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7557, allocations: 252 kB / 0.6151 GB, free: 4.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.7558, allocations: 114.2 kB / 0.6153 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.7558, allocations: 0 / 0.6153 GB, free: 4.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7559, allocations: 342.7 kB / 0.6156 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.7562, allocations: 188.8 kB / 0.6158 GB, free: 3.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.7565, allocations: 308.1 kB / 0.6161 GB, free: 3.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.7568, allocations: 239.8 kB / 0.6163 GB, free: 3.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7568, allocations: 0 / 0.6163 GB, free: 3.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008145/0.7577, allocations: 0.5356 MB / 0.6168 GB, free: 2.656 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7577, allocations: 8 kB / 0.6168 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7577, allocations: 4 kB / 0.6168 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7577, allocations: 4 kB / 0.6168 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7589, allocations: 228.1 kB / 0.617 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.7625, allocations: 7.407 MB / 0.6243 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.7628, allocations: 35.67 kB / 0.6243 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.7629, allocations: 27.98 kB / 0.6243 GB, free: 10.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 43 * 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.0001568/0.763, allocations: 138.2 kB / 0.6245 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.7631, allocations: 27.62 kB / 0.6245 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.7642, allocations: 0.636 MB / 0.6251 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7642, allocations: 4 kB / 0.6251 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7643, allocations: 0 / 0.6251 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7643, allocations: 3.984 kB / 0.6251 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.7648, allocations: 405.4 kB / 0.6255 GB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7648, allocations: 4 kB / 0.6255 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7658, allocations: 207.8 kB / 0.6257 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.7659, allocations: 4 kB / 0.6257 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.7659, allocations: 7.984 kB / 0.6257 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.7696, allocations: 7.399 MB / 0.6329 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7696, allocations: 0 / 0.6329 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006756/0.7703, allocations: 0.5352 MB / 0.6335 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007828/0.7711, allocations: 0.914 MB / 0.6344 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.7712, allocations: 104.7 kB / 0.6345 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.7712, allocations: 0 / 0.6345 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.7715, allocations: 15.98 kB / 0.6345 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.7716, allocations: 23.95 kB / 0.6345 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.7716, allocations: 12 kB / 0.6345 GB, free: 15.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001047/0.7717, allocations: 148.2 kB / 0.6347 GB, free: 15.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001283/0.773, allocations: 203.3 kB / 0.6348 GB, free: 15.52 MB / 458.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.0004803/0.7735, allocations: 272.6 kB / 0.6351 GB, free: 15.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.7752, allocations: 0.5978 MB / 0.6357 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7752, allocations: 0 / 0.6357 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.7765, allocations: 387.6 kB / 0.6361 GB, free: 14.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.7767, allocations: 16.8 kB / 0.6361 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.7781, allocations: 0.705 MB / 0.6368 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.7786, allocations: 0.9511 MB / 0.6377 GB, free: 12.53 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.7786, allocations: 0 / 0.6377 GB, free: 12.53 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat