Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.485/1.485, allocations: 285.5 MB / 292.8 MB, free: 9.82 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.001018/0.001018, allocations: 196.9 kB / 361.1 MB, free: 332 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.176/1.176, allocations: 205.1 MB / 0.6195 GB, free: 2.887 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.0008282/0.000828, allocations: 90.86 kB / 0.7326 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.405/0.4059, allocations: 121.4 MB / 0.8511 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.5784, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.669/4.247, allocations: 2.089 GB / 3.052 GB, free: 297.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/4.247, allocations: 79.95 kB / 3.052 GB, free: 297.4 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 2.863/7.11, allocations: 1.003 GB / 4.056 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/7.11, allocations: 8.5 kB / 4.056 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/7.114, allocations: 0.5916 MB / 4.056 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/7.117, allocations: 1.062 MB / 4.057 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006445/7.118, allocations: 181.8 kB / 4.057 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/7.118, allocations: 55.94 kB / 4.057 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002194/7.12, allocations: 1.054 MB / 4.058 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/7.123, allocations: 1.033 MB / 4.059 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/7.123, allocations: 0 / 4.059 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/7.123, allocations: 0 / 4.059 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/7.123, allocations: 53.97 kB / 4.059 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008086/7.131, allocations: 4.1 MB / 4.063 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/7.132, allocations: 0.7233 MB / 4.064 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/7.133, allocations: 0.5022 MB / 4.065 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/7.134, allocations: 0.6203 MB / 4.065 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/7.134, allocations: 43.22 kB / 4.065 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 3.317e-06/7.134, allocations: 0 / 4.065 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.003007/7.137, allocations: 1.197 MB / 4.067 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/7.137, allocations: 60.06 kB / 4.067 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4381/7.575, allocations: 0.5544 MB / 4.067 GB, free: 248.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003245/7.576, allocations: 29.48 kB / 4.067 GB, free: 248.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/7.576, allocations: 332.8 kB / 4.067 GB, free: 248.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/7.576, allocations: 259.9 kB / 4.068 GB, free: 248.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/7.576, allocations: 0 / 4.068 GB, free: 248.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/7.576, allocations: 330.8 kB / 4.068 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/7.577, allocations: 408.8 kB / 4.068 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/7.578, allocations: 0.5335 MB / 4.069 GB, free: 247.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/7.579, allocations: 0.617 MB / 4.07 GB, free: 247.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/7.579, allocations: 0 / 4.07 GB, free: 247.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002065/7.581, allocations: 1.22 MB / 4.071 GB, free: 247.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/7.581, allocations: 448 kB / 4.071 GB, free: 247.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/7.581, allocations: 3.812 kB / 4.071 GB, free: 247.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/7.581, allocations: 3.844 kB / 4.071 GB, free: 247.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/7.583, allocations: 294.9 kB / 4.071 GB, free: 247.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000561/7.583, allocations: 1.208 MB / 4.073 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/7.585, allocations: 184.6 kB / 4.073 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/7.585, allocations: 39.61 kB / 4.073 GB, free: 246 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/7.585, allocations: 3.875 kB / 4.073 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001822/7.587, allocations: 1.105 MB / 4.074 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/7.587, allocations: 0 / 4.074 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/7.587, allocations: 4.969 kB / 4.074 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/7.588, allocations: 267.8 kB / 4.074 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/7.588, allocations: 3.594 kB / 4.074 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/7.589, allocations: 178.9 kB / 4.074 GB, free: 246 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/7.589, allocations: 49.5 kB / 4.074 GB, free: 246 MB / 0.9636 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.0002102/7.589, allocations: 122.5 kB / 4.075 GB, free: 245.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/7.589, allocations: 95.7 kB / 4.075 GB, free: 245.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/7.592, allocations: 1.262 MB / 4.076 GB, free: 245.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/7.592, allocations: 9.688 kB / 4.076 GB, free: 245.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/7.592, allocations: 7.75 kB / 4.076 GB, free: 245.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/7.592, allocations: 5.391 kB / 4.076 GB, free: 245.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/7.596, allocations: 2.642 MB / 4.078 GB, free: 245.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/7.596, allocations: 3.594 kB / 4.078 GB, free: 245.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/7.597, allocations: 267.6 kB / 4.079 GB, free: 245.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/7.597, allocations: 7.062 kB / 4.079 GB, free: 245.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/7.597, allocations: 24.16 kB / 4.079 GB, free: 245.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004043/7.598, allocations: 1.196 MB / 4.08 GB, free: 244.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/7.598, allocations: 9 kB / 4.08 GB, free: 244.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002179/7.6, allocations: 1.541 MB / 4.081 GB, free: 243.6 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002482/7.602, allocations: 2.059 MB / 4.083 GB, free: 242.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/7.603, allocations: 310.6 kB / 4.084 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/7.603, allocations: 6.938 kB / 4.084 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/7.605, allocations: 170.8 kB / 4.084 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/7.605, allocations: 48.16 kB / 4.084 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.843e-05/7.605, allocations: 39.17 kB / 4.084 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0005525/7.605, allocations: 448.1 kB / 4.084 GB, free: 242.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003944/7.609, allocations: 1.291 MB / 4.086 GB, free: 242.4 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.002954/7.612, allocations: 2.63 MB / 4.088 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002808/7.615, allocations: 1.61 MB / 4.09 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/7.615, allocations: 3.562 kB / 4.09 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/7.616, allocations: 0.5381 MB / 4.09 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/7.618, allocations: 412.7 kB / 4.091 GB, free: 241.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/7.632, allocations: 2.423 MB / 4.093 GB, free: 241 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/7.634, allocations: 1.235 MB / 4.094 GB, free: 240.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.834e-06/7.634, allocations: 0 / 4.094 GB, free: 240.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)