Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001204/0.001204, allocations: 188.6 kB / 7.805 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.43/1.43, 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.000991/0.0009909, allocations: 91.02 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.2179/0.2179, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2165/0.4345, allocations: 64.99 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.7983, allocations: 58.84 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.9454, allocations: 93.24 MB / 0.5566 GB, free: 5.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/0.9459, allocations: 99.38 kB / 0.5567 GB, free: 5.582 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.03972/0.9856, allocations: 14 MB / 0.5703 GB, free: 7.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9857, allocations: 12 kB / 0.5703 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.9858, allocations: 39.53 kB / 0.5704 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.9863, allocations: 283.3 kB / 0.5706 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.9863, allocations: 12 kB / 0.5707 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.9864, allocations: 20 kB / 0.5707 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000575/0.987, allocations: 333.6 kB / 0.571 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.9877, allocations: 0.4916 MB / 0.5715 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.9877, allocations: 3.984 kB / 0.5715 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.9878, allocations: 0 / 0.5715 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.9878, allocations: 20.77 kB / 0.5715 GB, free: 6.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.9899, allocations: 1.17 MB / 0.5726 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.9904, allocations: 275.7 kB / 0.5729 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.9906, allocations: 126.5 kB / 0.573 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.9907, allocations: 15.94 kB / 0.573 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9907, allocations: 34.55 kB / 0.5731 GB, free: 4.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.9907, allocations: 4 kB / 0.5731 GB, free: 4.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007586/0.9915, allocations: 305.3 kB / 0.5734 GB, free: 4.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.9916, allocations: 110.8 kB / 0.5735 GB, free: 4.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.9919, allocations: 204 kB / 0.5737 GB, free: 3.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.992, allocations: 25.7 kB / 0.5737 GB, free: 3.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.9922, allocations: 203.7 kB / 0.5739 GB, free: 3.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.9923, allocations: 59.09 kB / 0.5739 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.9923, allocations: 64 / 0.5739 GB, free: 3.496 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.9925, allocations: 334.8 kB / 0.5743 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.9927, allocations: 124.1 kB / 0.5744 GB, free: 3.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.993, allocations: 192.1 kB / 0.5746 GB, free: 2.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.9933, allocations: 147.8 kB / 0.5747 GB, free: 2.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.9933, allocations: 4 kB / 0.5747 GB, free: 2.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006384/0.9939, allocations: 365.8 kB / 0.5751 GB, free: 2.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.994, allocations: 4 kB / 0.5751 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.177e-05/0.994, allocations: 35.97 kB / 0.5751 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9941, allocations: 4 kB / 0.5751 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.9943, allocations: 52.23 kB / 0.5751 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9943, allocations: 4 kB / 0.5751 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.9946, allocations: 35.83 kB / 0.5752 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.9947, allocations: 15.98 kB / 0.5752 GB, free: 2.152 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001285/0.9948, allocations: 112.9 kB / 0.5753 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.9949, allocations: 27.72 kB / 0.5753 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008618/0.9958, allocations: 454.8 kB / 0.5758 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.9958, allocations: 11.98 kB / 0.5758 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9958, allocations: 0 / 0.5758 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.9958, allocations: 4 kB / 0.5758 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.9965, allocations: 341.8 kB / 0.5761 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-05/0.9966, allocations: 27.97 kB / 0.5761 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.9968, allocations: 43.91 kB / 0.5762 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.9968, allocations: 0 / 0.5762 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.9968, allocations: 8 kB / 0.5762 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9968, allocations: 0 / 0.5762 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9969, allocations: 4 kB / 0.5762 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007711/0.9976, allocations: 0.5648 MB / 0.5767 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008877/0.9985, allocations: 0.9352 MB / 0.5777 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.9986, allocations: 100.8 kB / 0.5777 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.9987, allocations: 0 / 0.5777 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.999, allocations: 27.97 kB / 0.5778 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.9991, allocations: 23.97 kB / 0.5778 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.9991, allocations: 11.91 kB / 0.5778 GB, free: 15.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001372/0.9993, allocations: 160.5 kB / 0.578 GB, free: 15.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00136/1.001, allocations: 151.5 kB / 0.5781 GB, free: 15.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0005897/1.001, allocations: 233 kB / 0.5783 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006771/1.002, allocations: 0.5068 MB / 0.5788 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.002, allocations: 0 / 0.5788 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/1.002, allocations: 375.2 kB / 0.5792 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/1.003, allocations: 37.17 kB / 0.5792 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.004, allocations: 0.5377 MB / 0.5797 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/1.005, allocations: 0.8796 MB / 0.5806 GB, free: 12.32 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/1.005, allocations: 0 / 0.5806 GB, free: 12.32 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)