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_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001728/0.001728, allocations: 186.3 kB / 7.804 MB, free: 2.438 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.49/1.49, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009156/0.0009156, allocations: 91.16 kB / 261.4 MB, free: 13.53 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.22/0.22, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2316/0.4516, allocations: 64.99 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.7871, allocations: 58.83 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.9231, allocations: 91.31 MB / 0.5547 GB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.9235, allocations: 87.94 kB / 0.5548 GB, free: 7.508 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.02821/0.9517, allocations: 9.86 MB / 0.5644 GB, free: 13.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.9518, allocations: 16 kB / 0.5644 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.9519, allocations: 19.72 kB / 0.5644 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.9522, allocations: 218.7 kB / 0.5646 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.9522, allocations: 7.906 kB / 0.5646 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.9523, allocations: 8 kB / 0.5646 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002995/0.9526, allocations: 151.8 kB / 0.5648 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.953, allocations: 232.6 kB / 0.565 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.953, allocations: 0 / 0.565 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.953, allocations: 4 kB / 0.565 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.9531, allocations: 12 kB / 0.565 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.9543, allocations: 0.7194 MB / 0.5657 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.9547, allocations: 195.8 kB / 0.5659 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.9549, allocations: 82.53 kB / 0.566 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/0.9549, allocations: 8.031 kB / 0.566 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.955, allocations: 30.56 kB / 0.566 GB, free: 11.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.955, allocations: 3.938 kB / 0.566 GB, free: 11.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004489/0.9554, allocations: 169.4 kB / 0.5662 GB, free: 11.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9555, allocations: 102.8 kB / 0.5663 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.9557, allocations: 173.4 kB / 0.5665 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.9557, allocations: 25.7 kB / 0.5665 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.9558, allocations: 132.1 kB / 0.5666 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.9559, allocations: 43.47 kB / 0.5666 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.9559, allocations: 3.938 kB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.956, allocations: 326.8 kB / 0.567 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.9561, allocations: 59.95 kB / 0.567 GB, free: 10.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.9563, allocations: 101 kB / 0.5671 GB, free: 10.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.9564, allocations: 71.86 kB / 0.5672 GB, free: 10.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9564, allocations: 0 / 0.5672 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003447/0.9568, allocations: 201.3 kB / 0.5674 GB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9568, allocations: 4 kB / 0.5674 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.9569, allocations: 8 kB / 0.5674 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9569, allocations: 4 kB / 0.5674 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.9571, allocations: 44.05 kB / 0.5674 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.9571, allocations: 4 kB / 0.5674 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.9574, allocations: 31.83 kB / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.9574, allocations: 4 kB / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001189/0.9575, allocations: 129.7 kB / 0.5676 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.9576, allocations: 15.81 kB / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.958, allocations: 210.8 kB / 0.5678 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.958, allocations: 4 kB / 0.5678 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9581, allocations: 0 / 0.5678 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9581, allocations: 7.922 kB / 0.5678 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.9585, allocations: 238 kB / 0.5681 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.9585, allocations: 8 kB / 0.5681 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.9587, allocations: 39.97 kB / 0.5681 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.9587, allocations: 0 / 0.5681 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.9587, allocations: 7.984 kB / 0.5681 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9587, allocations: 0 / 0.5681 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9588, allocations: 8 kB / 0.5681 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004309/0.9592, allocations: 450.8 kB / 0.5685 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005614/0.9598, allocations: 0.8101 MB / 0.5693 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.9598, allocations: 96.86 kB / 0.5694 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.9599, allocations: 7.984 kB / 0.5694 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.9602, allocations: 27.98 kB / 0.5695 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.9602, allocations: 7.984 kB / 0.5695 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.9603, allocations: 7.984 kB / 0.5695 GB, free: 7.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001295/0.9604, allocations: 132.4 kB / 0.5696 GB, free: 7.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001101/0.9615, allocations: 87.78 kB / 0.5697 GB, free: 7.75 MB / 410.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003824/0.9619, allocations: 183 kB / 0.5699 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.9623, allocations: 217 kB / 0.5701 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9623, allocations: 0 / 0.5701 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.9625, allocations: 157 kB / 0.5702 GB, free: 7.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.9629, allocations: 24.47 kB / 0.5702 GB, free: 7.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.9638, allocations: 297.3 kB / 0.5705 GB, free: 6.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.9644, allocations: 0.7933 MB / 0.5713 GB, free: 5.984 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.9644, allocations: 0 / 0.5713 GB, free: 5.984 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)