Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.444/2.444, allocations: 284.8 MB / 292.1 MB, free: 10.68 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.002587/0.002587, allocations: 173.3 kB / 360.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001252/0.001252, allocations: 89.83 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.312/0.3133, allocations: 121.4 MB / 0.8502 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.979, allocations: 115.2 MB / 0.9627 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.967/5.946, allocations: 2.088 GB / 3.051 GB, free: 31.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/5.946, allocations: 86.08 kB / 3.051 GB, free: 31.75 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 5.237/11.18, allocations: 1.003 GB / 4.054 GB, free: 119 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/11.18, allocations: 12 kB / 4.054 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/11.19, allocations: 0.5926 MB / 4.054 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/11.19, allocations: 1.063 MB / 4.055 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00128/11.2, allocations: 188.9 kB / 4.056 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/11.2, allocations: 52 kB / 4.056 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003486/11.2, allocations: 1.05 MB / 4.057 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/11.2, allocations: 1.033 MB / 4.058 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/11.2, allocations: 4 kB / 4.058 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/11.2, allocations: 3.281 kB / 4.058 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/11.2, allocations: 45.98 kB / 4.058 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/11.21, allocations: 4.093 MB / 4.062 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/11.22, allocations: 0.732 MB / 4.062 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/11.22, allocations: 0.4992 MB / 4.063 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/11.22, allocations: 0.619 MB / 4.064 GB, free: 108.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/11.22, allocations: 35.22 kB / 4.064 GB, free: 108.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.737e-06/11.22, allocations: 4 kB / 4.064 GB, free: 108.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.004742/11.22, allocations: 1.192 MB / 4.065 GB, free: 107.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/11.22, allocations: 70.47 kB / 4.065 GB, free: 107.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/11.23, allocations: 0.5552 MB / 4.065 GB, free: 106.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/11.23, allocations: 29.7 kB / 4.065 GB, free: 106.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/11.23, allocations: 332.3 kB / 4.066 GB, free: 106.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/11.23, allocations: 252.1 kB / 4.066 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/11.23, allocations: 0 / 4.066 GB, free: 106.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/11.23, allocations: 341.9 kB / 4.066 GB, free: 106 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/11.23, allocations: 409.4 kB / 4.067 GB, free: 105.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/11.23, allocations: 0.5348 MB / 4.067 GB, free: 105 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/11.23, allocations: 0.6159 MB / 4.068 GB, free: 104.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/11.23, allocations: 0 / 4.068 GB, free: 104.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004828/11.24, allocations: 1.213 MB / 4.069 GB, free: 103.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/11.24, allocations: 459.5 kB / 4.069 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/11.24, allocations: 4 kB / 4.069 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/11.24, allocations: 4 kB / 4.069 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/11.24, allocations: 287.2 kB / 4.07 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009644/11.24, allocations: 1.211 MB / 4.071 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/11.24, allocations: 183.4 kB / 4.071 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/11.24, allocations: 43.95 kB / 4.071 GB, free: 100.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/11.24, allocations: 4 kB / 4.071 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003783/11.25, allocations: 1.091 MB / 4.072 GB, free: 99.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/11.25, allocations: 8 kB / 4.072 GB, free: 99.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/11.25, allocations: 4 kB / 4.072 GB, free: 99.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/11.25, allocations: 271.7 kB / 4.072 GB, free: 99.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/11.25, allocations: 7.906 kB / 4.072 GB, free: 99.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/11.25, allocations: 183.4 kB / 4.073 GB, free: 99.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/11.25, allocations: 43.91 kB / 4.073 GB, free: 99.3 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.0003791/11.25, allocations: 120.6 kB / 4.073 GB, free: 99.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/11.26, allocations: 98.72 kB / 4.073 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/11.26, allocations: 1.263 MB / 4.074 GB, free: 97.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/11.26, allocations: 8 kB / 4.074 GB, free: 97.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/11.26, allocations: 0 / 4.074 GB, free: 97.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/11.26, allocations: 7.984 kB / 4.074 GB, free: 97.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/11.27, allocations: 2.638 MB / 4.077 GB, free: 95.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/11.27, allocations: 8.062 kB / 4.077 GB, free: 95.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/11.27, allocations: 275.6 kB / 4.077 GB, free: 94.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.289e-05/11.27, allocations: 11.7 kB / 4.077 GB, free: 94.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/11.27, allocations: 15.97 kB / 4.077 GB, free: 94.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006285/11.27, allocations: 1.207 MB / 4.078 GB, free: 93.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/11.27, allocations: 7.938 kB / 4.078 GB, free: 93.52 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004493/11.28, allocations: 1.532 MB / 4.08 GB, free: 91.84 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006475/11.28, allocations: 2.058 MB / 4.082 GB, free: 89.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/11.28, allocations: 307.6 kB / 4.082 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005925/11.28, allocations: 7.984 kB / 4.082 GB, free: 89.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/11.29, allocations: 163.8 kB / 4.082 GB, free: 89.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/11.29, allocations: 52.34 kB / 4.082 GB, free: 89.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002597/11.29, allocations: 43.95 kB / 4.082 GB, free: 89.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001225/11.29, allocations: 443.1 kB / 4.083 GB, free: 88.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008451/11.3, allocations: 1.295 MB / 4.084 GB, free: 87.31 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.005172/11.3, allocations: 2.618 MB / 4.086 GB, free: 84.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005452/11.31, allocations: 1.614 MB / 4.088 GB, free: 83.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/11.31, allocations: 4.375 kB / 4.088 GB, free: 83.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/11.31, allocations: 0.5366 MB / 4.089 GB, free: 82.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004071/11.32, allocations: 409.2 kB / 4.089 GB, free: 82.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/11.36, allocations: 2.425 MB / 4.091 GB, free: 79.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00256/11.36, allocations: 1.232 MB / 4.093 GB, free: 78.56 MB / 0.948 GB Notification: Performance of SimCode: time 2.625e-06/11.36, allocations: 4 kB / 4.093 GB, free: 78.56 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)