Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.493/1.493, allocations: 285.5 MB / 292.8 MB, free: 9.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009974/0.0009973, allocations: 191.5 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.1 MB / 0.6195 GB, free: 2.906 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007774/0.0007774, allocations: 81.14 kB / 0.7326 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4313/0.4321, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.6242, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.829/4.453, allocations: 2.088 GB / 3.052 GB, free: 288.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/4.453, allocations: 83.94 kB / 3.052 GB, free: 288.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.282/7.735, allocations: 1.003 GB / 4.055 GB, free: 151.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/7.736, allocations: 10.09 kB / 4.055 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/7.739, allocations: 0.591 MB / 4.056 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/7.741, allocations: 1.058 MB / 4.057 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005861/7.741, allocations: 180.7 kB / 4.057 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/7.741, allocations: 56.44 kB / 4.057 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/7.743, allocations: 1.055 MB / 4.058 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/7.744, allocations: 1.036 MB / 4.059 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/7.744, allocations: 0 / 4.059 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/7.744, allocations: 0 / 4.059 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/7.744, allocations: 49.45 kB / 4.059 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/7.75, allocations: 4.102 MB / 4.063 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/7.751, allocations: 0.721 MB / 4.064 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/7.752, allocations: 0.5092 MB / 4.064 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008442/7.752, allocations: 0.6149 MB / 4.065 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/7.752, allocations: 40.73 kB / 4.065 GB, free: 149 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/7.752, allocations: 0 / 4.065 GB, free: 149 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002272/7.755, allocations: 1.193 MB / 4.066 GB, free: 148.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/7.755, allocations: 59.31 kB / 4.066 GB, free: 148.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/7.755, allocations: 0.5687 MB / 4.067 GB, free: 148.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/7.755, allocations: 25.7 kB / 4.067 GB, free: 148.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/7.756, allocations: 330.6 kB / 4.067 GB, free: 148.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/7.756, allocations: 249.4 kB / 4.067 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/7.756, allocations: 6.75 kB / 4.067 GB, free: 148.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.158e-05/7.756, allocations: 338.8 kB / 4.067 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/7.756, allocations: 405.2 kB / 4.068 GB, free: 148.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/7.757, allocations: 0.5414 MB / 4.068 GB, free: 148 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/7.758, allocations: 0.6179 MB / 4.069 GB, free: 148 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/7.758, allocations: 0 / 4.069 GB, free: 148 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001894/7.76, allocations: 1.219 MB / 4.07 GB, free: 147.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/7.76, allocations: 455 kB / 4.071 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/7.76, allocations: 0 / 4.071 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/7.76, allocations: 3.844 kB / 4.071 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/7.762, allocations: 292.4 kB / 4.071 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005142/7.762, allocations: 1.205 MB / 4.072 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/7.764, allocations: 188.3 kB / 4.072 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/7.764, allocations: 40.3 kB / 4.072 GB, free: 146.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/7.764, allocations: 3.125 kB / 4.072 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/7.765, allocations: 1.099 MB / 4.073 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/7.765, allocations: 6 kB / 4.073 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/7.765, allocations: 3.281 kB / 4.073 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/7.767, allocations: 274.2 kB / 4.074 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/7.767, allocations: 11.59 kB / 4.074 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/7.768, allocations: 178.8 kB / 4.074 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/7.768, allocations: 39.95 kB / 4.074 GB, free: 146.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/7.768, allocations: 113.7 kB / 4.074 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/7.768, allocations: 103.8 kB / 4.074 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/7.771, allocations: 1.261 MB / 4.075 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/7.771, allocations: 8.062 kB / 4.075 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/7.771, allocations: 0 / 4.075 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/7.771, allocations: 3.797 kB / 4.075 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/7.774, allocations: 2.638 MB / 4.078 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.774, allocations: 3.281 kB / 4.078 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/7.776, allocations: 280.9 kB / 4.078 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/7.776, allocations: 3.969 kB / 4.078 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/7.776, allocations: 16.53 kB / 4.078 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003614/7.776, allocations: 1.205 MB / 4.079 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/7.776, allocations: 8.891 kB / 4.079 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001866/7.778, allocations: 1.534 MB / 4.081 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002322/7.78, allocations: 2.065 MB / 4.083 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/7.781, allocations: 306.5 kB / 4.083 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/7.781, allocations: 6.844 kB / 4.083 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/7.783, allocations: 172.7 kB / 4.083 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/7.783, allocations: 51.36 kB / 4.083 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.649e-05/7.783, allocations: 43.55 kB / 4.083 GB, free: 142.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005345/7.783, allocations: 445.8 kB / 4.084 GB, free: 142.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003795/7.787, allocations: 1.29 MB / 4.085 GB, free: 142.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002872/7.79, allocations: 2.625 MB / 4.088 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002577/7.793, allocations: 1.606 MB / 4.089 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/7.793, allocations: 3.156 kB / 4.089 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/7.793, allocations: 0.5417 MB / 4.09 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/7.795, allocations: 413.1 kB / 4.09 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/7.81, allocations: 2.432 MB / 4.092 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/7.811, allocations: 1.238 MB / 4.094 GB, free: 140.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/7.811, allocations: 3.75 kB / 4.094 GB, free: 140.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)