Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 190.4 kB / 7.802 MB, free: 2.5 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.65/1.65, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009776/0.0009776, allocations: 92.39 kB / 261.4 MB, free: 13.54 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.2391/0.2391, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2678/0.5069, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.9412, allocations: 58.83 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/1.103, allocations: 92.58 MB / 0.5559 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/1.103, allocations: 95.44 kB / 0.556 GB, free: 6.242 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.04179/1.145, allocations: 14.34 MB / 0.57 GB, free: 7.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/1.145, allocations: 8 kB / 0.57 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/1.145, allocations: 51.34 kB / 0.5701 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/1.146, allocations: 299 kB / 0.5703 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/1.146, allocations: 19.94 kB / 0.5704 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/1.146, allocations: 39.84 kB / 0.5704 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001056/1.147, allocations: 0.6545 MB / 0.571 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.148, allocations: 0.6129 MB / 0.5716 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.148, allocations: 0 / 0.5716 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/1.148, allocations: 0 / 0.5716 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/1.148, allocations: 45.28 kB / 0.5717 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/1.151, allocations: 1.315 MB / 0.573 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009826/1.152, allocations: 0.5528 MB / 0.5735 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.152, allocations: 172.7 kB / 0.5737 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/1.152, allocations: 11.97 kB / 0.5737 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.152, allocations: 39.19 kB / 0.5737 GB, free: 3.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/1.152, allocations: 0 / 0.5737 GB, free: 3.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008237/1.153, allocations: 428.3 kB / 0.5741 GB, free: 3.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.153, allocations: 59.41 kB / 0.5742 GB, free: 3.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/1.154, allocations: 182.6 kB / 0.5744 GB, free: 3.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/1.154, allocations: 25.7 kB / 0.5744 GB, free: 2.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/1.154, allocations: 232.2 kB / 0.5746 GB, free: 2.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.154, allocations: 126.1 kB / 0.5747 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/1.154, allocations: 0 / 0.5747 GB, free: 2.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/1.154, allocations: 330.8 kB / 0.575 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/1.154, allocations: 168.7 kB / 0.5752 GB, free: 2.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/1.155, allocations: 278.9 kB / 0.5755 GB, free: 1.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/1.155, allocations: 211.8 kB / 0.5757 GB, free: 1.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.155, allocations: 0 / 0.5757 GB, free: 1.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009451/1.156, allocations: 0.5045 MB / 0.5762 GB, free: 1.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.156, allocations: 4 kB / 0.5762 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.156, allocations: 7.984 kB / 0.5762 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.156, allocations: 4 kB / 0.5762 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.157, allocations: 211.8 kB / 0.5764 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/1.162, allocations: 7.423 MB / 0.5836 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/1.162, allocations: 27.77 kB / 0.5837 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/1.162, allocations: 23.98 kB / 0.5837 GB, free: 9.125 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.000174/1.162, allocations: 126.3 kB / 0.5838 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/1.162, allocations: 23.72 kB / 0.5838 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/1.163, allocations: 0.6282 MB / 0.5844 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.163, allocations: 4 kB / 0.5844 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.164, allocations: 11.88 kB / 0.5845 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/1.164, allocations: 3.984 kB / 0.5845 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/1.164, allocations: 405.6 kB / 0.5848 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.164, allocations: 0 / 0.5848 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/1.165, allocations: 207.8 kB / 0.585 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.165, allocations: 7.938 kB / 0.585 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.165, allocations: 11.98 kB / 0.5851 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/1.17, allocations: 7.399 MB / 0.5923 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.17, allocations: 4.062 kB / 0.5923 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008553/1.171, allocations: 0.5349 MB / 0.5928 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001023/1.172, allocations: 0.906 MB / 0.5937 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/1.172, allocations: 96.77 kB / 0.5938 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/1.172, allocations: 4 kB / 0.5938 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/1.172, allocations: 11.98 kB / 0.5938 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/1.172, allocations: 27.95 kB / 0.5938 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/1.172, allocations: 23.98 kB / 0.5939 GB, free: 14.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001292/1.173, allocations: 128.1 kB / 0.594 GB, free: 14.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001332/1.174, allocations: 167.3 kB / 0.5941 GB, free: 14.03 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.0005444/1.174, allocations: 189 kB / 0.5943 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/1.177, allocations: 0.5819 MB / 0.5949 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.177, allocations: 0 / 0.5949 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.178, allocations: 388.5 kB / 0.5953 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/1.178, allocations: 16.03 kB / 0.5953 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/1.181, allocations: 0.7009 MB / 0.596 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008111/1.181, allocations: 0.9516 MB / 0.5969 GB, free: 11.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/1.181, allocations: 3.938 kB / 0.5969 GB, free: 11.15 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat