Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.393/1.393, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0009591/0.000959, allocations: 189.2 kB / 361.1 MB, free: 7.129 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.264/1.264, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0008555/0.0008556, allocations: 98.16 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2381/0.2389, allocations: 121.4 MB / 0.8511 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.7872, allocations: 115.3 MB / 0.9638 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.517/4.305, allocations: 2.094 GB / 3.058 GB, free: 63.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/4.305, allocations: 96.73 kB / 3.058 GB, free: 63.16 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: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 8.468/12.77, allocations: 2.82 GB / 5.878 GB, free: 83.73 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/12.77, allocations: 7.844 kB / 5.878 GB, free: 83.73 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/12.78, allocations: 1.551 MB / 5.879 GB, free: 83.57 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00765/12.79, allocations: 2.611 MB / 5.882 GB, free: 83.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/12.79, allocations: 379.2 kB / 5.882 GB, free: 83.08 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/12.79, allocations: 136.2 kB / 5.882 GB, free: 83.08 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005001/12.8, allocations: 2.546 MB / 5.885 GB, free: 83.06 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/12.8, allocations: 2.412 MB / 5.887 GB, free: 82.67 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/12.8, allocations: 3.969 kB / 5.887 GB, free: 82.67 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/12.8, allocations: 9.266 kB / 5.887 GB, free: 82.67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/12.8, allocations: 89.77 kB / 5.887 GB, free: 82.66 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/12.83, allocations: 13.84 MB / 5.901 GB, free: 75.28 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/12.83, allocations: 1.413 MB / 5.902 GB, free: 75.06 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/12.83, allocations: 0.6351 MB / 5.903 GB, free: 75.04 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/12.83, allocations: 0.6449 MB / 5.903 GB, free: 74.39 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/12.83, allocations: 50.78 kB / 5.903 GB, free: 74.35 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/12.83, allocations: 0 / 5.903 GB, free: 74.35 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.003538/12.83, allocations: 1.645 MB / 5.905 GB, free: 74.18 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/12.83, allocations: 64.16 kB / 5.905 GB, free: 74.11 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/12.84, allocations: 1.571 MB / 5.906 GB, free: 73.88 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/12.84, allocations: 32.11 kB / 5.907 GB, free: 73.85 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/12.84, allocations: 0.9544 MB / 5.907 GB, free: 73.29 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/12.84, allocations: 366.5 kB / 5.908 GB, free: 73.05 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/12.84, allocations: 8.938 kB / 5.908 GB, free: 73.05 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/12.84, allocations: 373 kB / 5.908 GB, free: 72.74 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/12.84, allocations: 0.6873 MB / 5.909 GB, free: 72.73 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/12.84, allocations: 1.342 MB / 5.91 GB, free: 71.97 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/12.84, allocations: 1.238 MB / 5.911 GB, free: 71.95 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/12.84, allocations: 2.906 kB / 5.911 GB, free: 71.95 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004562/12.85, allocations: 2.433 MB / 5.914 GB, free: 71.79 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001087/12.85, allocations: 5.56 MB / 5.919 GB, free: 65.99 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/12.85, allocations: 19.38 kB / 5.919 GB, free: 65.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.231e-05/12.85, allocations: 29.53 kB / 5.919 GB, free: 65.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/12.85, allocations: 0.593 MB / 5.92 GB, free: 65.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/12.85, allocations: 2.415 MB / 5.922 GB, free: 63.64 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/12.85, allocations: 0.4969 MB / 5.923 GB, free: 63.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/12.86, allocations: 90.81 kB / 5.923 GB, free: 63.55 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/12.86, allocations: 5.156 kB / 5.923 GB, free: 63.55 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003799/12.86, allocations: 2.18 MB / 5.925 GB, free: 63.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/12.86, allocations: 13.75 kB / 5.925 GB, free: 63.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/12.86, allocations: 25 kB / 5.925 GB, free: 63.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/12.86, allocations: 0.5519 MB / 5.925 GB, free: 63.53 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/12.86, allocations: 30.31 kB / 5.925 GB, free: 63.53 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/12.86, allocations: 402.3 kB / 5.926 GB, free: 63.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/12.87, allocations: 99.28 kB / 5.926 GB, free: 63.46 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004947/12.87, allocations: 155.2 kB / 5.926 GB, free: 63.35 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/12.87, allocations: 220.3 kB / 5.926 GB, free: 63.24 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/12.87, allocations: 1.695 MB / 5.928 GB, free: 63.13 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/12.87, allocations: 10.75 kB / 5.928 GB, free: 63.13 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/12.87, allocations: 0 / 5.928 GB, free: 63.13 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/12.87, allocations: 10.14 kB / 5.928 GB, free: 63.13 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/12.88, allocations: 4.034 MB / 5.932 GB, free: 62.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/12.88, allocations: 5.062 kB / 5.932 GB, free: 62.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/12.88, allocations: 324.7 kB / 5.932 GB, free: 62.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/12.88, allocations: 16.34 kB / 5.932 GB, free: 62.59 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/12.88, allocations: 29.61 kB / 5.932 GB, free: 62.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007401/12.88, allocations: 2.373 MB / 5.935 GB, free: 60.25 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/12.88, allocations: 13.81 kB / 5.935 GB, free: 60.25 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002696/12.88, allocations: 2.243 MB / 5.937 GB, free: 59.18 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003812/12.89, allocations: 3.085 MB / 5.94 GB, free: 57.75 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/12.89, allocations: 0.5143 MB / 5.94 GB, free: 57.52 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006576/12.89, allocations: 12.48 kB / 5.94 GB, free: 57.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/12.89, allocations: 256.9 kB / 5.941 GB, free: 57.51 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/12.89, allocations: 72.19 kB / 5.941 GB, free: 57.51 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/12.89, allocations: 67.7 kB / 5.941 GB, free: 57.51 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.002065/12.89, allocations: 1.157 MB / 5.942 GB, free: 57.36 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01108/12.9, allocations: 3.583 MB / 5.945 GB, free: 57.19 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009783/12.91, allocations: 8.282 MB / 5.953 GB, free: 52.95 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005976/12.92, allocations: 2.819 MB / 5.956 GB, free: 52.8 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/12.92, allocations: 3.562 kB / 5.956 GB, free: 52.8 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/12.92, allocations: 0.6585 MB / 5.957 GB, free: 52.79 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/12.93, allocations: 0.7045 MB / 5.957 GB, free: 52.77 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/12.93, allocations: 3.246 MB / 5.961 GB, free: 51.78 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/12.94, allocations: 1.968 MB / 5.963 GB, free: 51.02 MB / 1.042 GB Notification: Performance of SimCode: time 1.252e-06/12.94, allocations: 1.875 kB / 5.963 GB, free: 51.02 MB / 1.042 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)