Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.00219/0.00219, allocations: 169.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 0.6256 GB, free: 7.43 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 79.52 kB / 0.7395 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3131/0.3143, allocations: 122.4 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/1.105, allocations: 116.3 MB / 0.9726 GB, free: 75.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.272/6.377, allocations: 2.09 GB / 3.062 GB, free: 345.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/6.378, allocations: 85.52 kB / 3.062 GB, free: 345.5 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.334/9.712, allocations: 1.003 GB / 4.065 GB, free: 68.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/9.712, allocations: 8 kB / 4.065 GB, free: 68.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/9.716, allocations: 0.5954 MB / 4.066 GB, free: 68.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/9.719, allocations: 1.05 MB / 4.067 GB, free: 67.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006501/9.719, allocations: 189.9 kB / 4.067 GB, free: 66.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/9.72, allocations: 52 kB / 4.067 GB, free: 66.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002105/9.722, allocations: 1.05 MB / 4.068 GB, free: 65.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/9.724, allocations: 1.037 MB / 4.069 GB, free: 64.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/9.724, allocations: 0 / 4.069 GB, free: 64.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/9.724, allocations: 4 kB / 4.069 GB, free: 64.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/9.724, allocations: 45.98 kB / 4.069 GB, free: 64.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007816/9.732, allocations: 4.097 MB / 4.073 GB, free: 60.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/9.733, allocations: 0.7193 MB / 4.074 GB, free: 59.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/9.734, allocations: 0.507 MB / 4.075 GB, free: 59.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/9.736, allocations: 0.6165 MB / 4.075 GB, free: 58.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/9.736, allocations: 47.2 kB / 4.075 GB, free: 58.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.829e-06/9.736, allocations: 4 kB / 4.075 GB, free: 58.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.003504/9.739, allocations: 1.19 MB / 4.076 GB, free: 57.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/9.739, allocations: 60.06 kB / 4.076 GB, free: 57.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/9.741, allocations: 0.563 MB / 4.077 GB, free: 56.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/9.741, allocations: 29.7 kB / 4.077 GB, free: 56.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/9.741, allocations: 328.3 kB / 4.077 GB, free: 56.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/9.741, allocations: 252.2 kB / 4.078 GB, free: 55.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/9.742, allocations: 0 / 4.078 GB, free: 55.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/9.742, allocations: 337.9 kB / 4.078 GB, free: 55.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/9.742, allocations: 409.4 kB / 4.078 GB, free: 55.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/9.743, allocations: 0.5386 MB / 4.079 GB, free: 54.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/9.744, allocations: 0.6198 MB / 4.079 GB, free: 54.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/9.744, allocations: 0 / 4.079 GB, free: 54.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002328/9.747, allocations: 1.217 MB / 4.081 GB, free: 52.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/9.747, allocations: 451.6 kB / 4.081 GB, free: 52.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/9.747, allocations: 3.938 kB / 4.081 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/9.747, allocations: 7.984 kB / 4.081 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/9.749, allocations: 291.6 kB / 4.081 GB, free: 52.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000726/9.749, allocations: 1.203 MB / 4.082 GB, free: 50.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/9.751, allocations: 183.6 kB / 4.083 GB, free: 50.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/9.751, allocations: 39.97 kB / 4.083 GB, free: 50.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/9.751, allocations: 4 kB / 4.083 GB, free: 50.56 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001981/9.753, allocations: 1.095 MB / 4.084 GB, free: 49.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/9.753, allocations: 7.906 kB / 4.084 GB, free: 49.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/9.753, allocations: 4 kB / 4.084 GB, free: 49.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/9.755, allocations: 267.7 kB / 4.084 GB, free: 49.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/9.755, allocations: 4 kB / 4.084 GB, free: 49.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/9.756, allocations: 183.4 kB / 4.084 GB, free: 49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/9.756, allocations: 39.97 kB / 4.084 GB, free: 48.96 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.0003061/9.757, allocations: 123.5 kB / 4.084 GB, free: 48.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/9.757, allocations: 98.78 kB / 4.084 GB, free: 48.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/9.76, allocations: 1.267 MB / 4.086 GB, free: 47.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/9.76, allocations: 8 kB / 4.086 GB, free: 47.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/9.76, allocations: 3.906 kB / 4.086 GB, free: 47.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/9.76, allocations: 3.984 kB / 4.086 GB, free: 47.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/9.765, allocations: 2.641 MB / 4.088 GB, free: 44.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/9.765, allocations: 4 kB / 4.088 GB, free: 44.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/9.766, allocations: 268.1 kB / 4.089 GB, free: 44.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/9.766, allocations: 8 kB / 4.089 GB, free: 44.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/9.766, allocations: 27.91 kB / 4.089 GB, free: 44.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004972/9.767, allocations: 1.199 MB / 4.09 GB, free: 43.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/9.767, allocations: 12.19 kB / 4.09 GB, free: 43.16 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002233/9.769, allocations: 1.532 MB / 4.091 GB, free: 41.48 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002882/9.772, allocations: 2.062 MB / 4.093 GB, free: 39.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/9.773, allocations: 307.6 kB / 4.094 GB, free: 38.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/9.773, allocations: 7.984 kB / 4.094 GB, free: 38.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/9.775, allocations: 167.8 kB / 4.094 GB, free: 38.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/9.775, allocations: 52.34 kB / 4.094 GB, free: 38.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/9.775, allocations: 47.95 kB / 4.094 GB, free: 38.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006687/9.776, allocations: 443.1 kB / 4.094 GB, free: 38.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005548/9.781, allocations: 1.288 MB / 4.095 GB, free: 36.95 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.004181/9.785, allocations: 2.625 MB / 4.098 GB, free: 34.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003167/9.789, allocations: 1.609 MB / 4.1 GB, free: 32.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/9.789, allocations: 4 kB / 4.1 GB, free: 32.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/9.79, allocations: 0.5456 MB / 4.1 GB, free: 31.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/9.792, allocations: 414.9 kB / 4.101 GB, free: 31.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/9.81, allocations: 2.428 MB / 4.103 GB, free: 29.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/9.811, allocations: 1.236 MB / 4.104 GB, free: 27.77 MB / 0.948 GB Notification: Performance of SimCode: time 1.783e-06/9.811, allocations: 0 / 4.104 GB, free: 27.77 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)