Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.336/2.336, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001664/0.001663, allocations: 181.3 kB / 360.3 MB, free: 7.555 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.969/1.969, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.00143/0.001429, allocations: 82.67 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2916/0.2931, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.9894, allocations: 115.2 MB / 0.9627 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/6.554, allocations: 2.088 GB / 3.051 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/6.554, allocations: 85.61 kB / 3.051 GB, free: 268.5 MB / 0.9323 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 4.575/11.13, allocations: 1.003 GB / 4.054 GB, free: 28.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/11.13, allocations: 12 kB / 4.054 GB, free: 28.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005933/11.13, allocations: 0.5877 MB / 4.055 GB, free: 28.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/11.14, allocations: 1.058 MB / 4.056 GB, free: 26.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/11.14, allocations: 185.9 kB / 4.056 GB, free: 26.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/11.14, allocations: 52 kB / 4.056 GB, free: 26.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003315/11.14, allocations: 1.05 MB / 4.057 GB, free: 25.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/11.15, allocations: 1.033 MB / 4.058 GB, free: 24.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/11.15, allocations: 0 / 4.058 GB, free: 24.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/11.15, allocations: 4 kB / 4.058 GB, free: 24.58 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.715e-05/11.15, allocations: 41.98 kB / 4.058 GB, free: 24.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/11.16, allocations: 4.096 MB / 4.062 GB, free: 20.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/11.16, allocations: 0.7154 MB / 4.063 GB, free: 19.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/11.17, allocations: 0.5053 MB / 4.063 GB, free: 18.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/11.17, allocations: 0.6243 MB / 4.064 GB, free: 18.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/11.17, allocations: 39.22 kB / 4.064 GB, free: 18.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/11.17, allocations: 3.938 kB / 4.064 GB, free: 18.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.004702/11.17, allocations: 1.194 MB / 4.065 GB, free: 16.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/11.17, allocations: 60.06 kB / 4.065 GB, free: 16.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/11.17, allocations: 0.5591 MB / 4.066 GB, free: 16.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/11.17, allocations: 33.7 kB / 4.066 GB, free: 16.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/11.17, allocations: 332.3 kB / 4.066 GB, free: 15.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/11.17, allocations: 248.2 kB / 4.067 GB, free: 15.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/11.17, allocations: 0 / 4.067 GB, free: 15.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/11.17, allocations: 334 kB / 4.067 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/11.18, allocations: 413.3 kB / 4.067 GB, free: 15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/11.18, allocations: 0.5386 MB / 4.068 GB, free: 14.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/11.18, allocations: 0.612 MB / 4.068 GB, free: 13.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/11.18, allocations: 0 / 4.068 GB, free: 13.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003833/11.18, allocations: 1.221 MB / 4.07 GB, free: 12.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/11.18, allocations: 456.9 kB / 4.07 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/11.18, allocations: 3.938 kB / 4.07 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/11.18, allocations: 4 kB / 4.07 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/11.19, allocations: 291.6 kB / 4.07 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008589/11.19, allocations: 1.215 MB / 4.071 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/11.19, allocations: 179.5 kB / 4.072 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/11.19, allocations: 43.97 kB / 4.072 GB, free: 10.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/11.19, allocations: 8 kB / 4.072 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003468/11.19, allocations: 1.091 MB / 4.073 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/11.19, allocations: 0 / 4.073 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/11.19, allocations: 4.094 kB / 4.073 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/11.2, allocations: 275.8 kB / 4.073 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/11.2, allocations: 7.984 kB / 4.073 GB, free: 8.934 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/11.2, allocations: 179.4 kB / 4.073 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/11.2, allocations: 39.97 kB / 4.073 GB, free: 8.719 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.0003702/11.2, allocations: 124.5 kB / 4.073 GB, free: 8.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/11.2, allocations: 94.88 kB / 4.073 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/11.2, allocations: 1.275 MB / 4.075 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/11.2, allocations: 8 kB / 4.075 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/11.2, allocations: 0 / 4.075 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/11.2, allocations: 7.984 kB / 4.075 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/11.21, allocations: 2.641 MB / 4.077 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/11.21, allocations: 0 / 4.077 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/11.21, allocations: 276 kB / 4.078 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/11.21, allocations: 11.91 kB / 4.078 GB, free: 4.176 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/11.21, allocations: 19.97 kB / 4.078 GB, free: 4.156 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005768/11.21, allocations: 1.203 MB / 4.079 GB, free: 2.906 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/11.21, allocations: 4 kB / 4.079 GB, free: 2.902 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003596/11.22, allocations: 1.536 MB / 4.08 GB, free: 1.215 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004701/11.22, allocations: 2.054 MB / 4.082 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/11.22, allocations: 311.5 kB / 4.083 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/11.22, allocations: 7.984 kB / 4.083 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/11.23, allocations: 171.7 kB / 4.083 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/11.23, allocations: 52.38 kB / 4.083 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/11.23, allocations: 43.95 kB / 4.083 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001068/11.23, allocations: 443.1 kB / 4.083 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007739/11.24, allocations: 1.288 MB / 4.084 GB, free: 12.68 MB / 0.9636 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.0058/11.24, allocations: 2.617 MB / 4.087 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005838/11.25, allocations: 1.617 MB / 4.089 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/11.25, allocations: 4 kB / 4.089 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/11.25, allocations: 0.5379 MB / 4.089 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/11.26, allocations: 403.3 kB / 4.09 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/11.29, allocations: 2.435 MB / 4.092 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002452/11.29, allocations: 1.239 MB / 4.093 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of SimCode: time 1.503e-06/11.29, allocations: 0 / 4.093 GB, free: 3.535 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)