Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7603/0.7603, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 173.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 86.52 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3721/0.3732, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.6109, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.755/6.366, allocations: 2.171 GB / 2.792 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/6.367, allocations: 91.95 kB / 2.792 GB, free: 40.1 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 11.97/18.34, allocations: 2.794 GB / 5.586 GB, free: 49.63 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/18.34, allocations: 9.281 kB / 5.586 GB, free: 49.63 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/18.35, allocations: 1.537 MB / 5.588 GB, free: 49.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007623/18.36, allocations: 2.335 MB / 5.59 GB, free: 48.95 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/18.36, allocations: 386 kB / 5.59 GB, free: 48.94 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/18.36, allocations: 140 kB / 5.59 GB, free: 48.94 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006821/18.37, allocations: 2.689 MB / 5.593 GB, free: 48.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/18.38, allocations: 2.552 MB / 5.596 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/18.38, allocations: 0 / 5.596 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/18.38, allocations: 4.844 kB / 5.596 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/18.38, allocations: 98.83 kB / 5.596 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02558/18.4, allocations: 14.29 MB / 5.61 GB, free: 40.96 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/18.41, allocations: 1.273 MB / 5.611 GB, free: 40.94 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/18.41, allocations: 0.6457 MB / 5.612 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/18.41, allocations: 481.9 kB / 5.612 GB, free: 40.45 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/18.41, allocations: 47.38 kB / 5.612 GB, free: 40.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 5.4e-06/18.41, allocations: 0 / 5.612 GB, free: 40.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.005762/18.41, allocations: 1.837 MB / 5.614 GB, free: 40.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/18.41, allocations: 60.53 kB / 5.614 GB, free: 40.19 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/18.42, allocations: 1.618 MB / 5.615 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005967/18.42, allocations: 36.86 kB / 5.615 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/18.42, allocations: 1.01 MB / 5.616 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/18.42, allocations: 366.9 kB / 5.617 GB, free: 39.09 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/18.42, allocations: 3.438 kB / 5.617 GB, free: 39.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001315/18.42, allocations: 382.8 kB / 5.617 GB, free: 38.78 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/18.42, allocations: 0.7765 MB / 5.618 GB, free: 38.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/18.42, allocations: 1.378 MB / 5.619 GB, free: 38.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/18.42, allocations: 1.321 MB / 5.621 GB, free: 38.06 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/18.42, allocations: 3.031 kB / 5.621 GB, free: 38.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006467/18.43, allocations: 2.668 MB / 5.623 GB, free: 37.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001492/18.43, allocations: 6.263 MB / 5.629 GB, free: 31.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/18.43, allocations: 16.25 kB / 5.629 GB, free: 31.35 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.905e-05/18.43, allocations: 33.02 kB / 5.629 GB, free: 31.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007948/18.44, allocations: 1.224 MB / 5.631 GB, free: 31.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/18.45, allocations: 2.855 MB / 5.633 GB, free: 29.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/18.45, allocations: 0.556 MB / 5.634 GB, free: 28.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/18.45, allocations: 105.3 kB / 5.634 GB, free: 28.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/18.45, allocations: 4.562 kB / 5.634 GB, free: 28.91 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005264/18.46, allocations: 2.385 MB / 5.636 GB, free: 28.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/18.46, allocations: 14.22 kB / 5.636 GB, free: 28.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/18.46, allocations: 26.31 kB / 5.636 GB, free: 28.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/18.46, allocations: 0.5807 MB / 5.637 GB, free: 28.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/18.46, allocations: 35.52 kB / 5.637 GB, free: 28.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/18.46, allocations: 410.9 kB / 5.637 GB, free: 28.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/18.46, allocations: 100.9 kB / 5.637 GB, free: 28.81 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 6 * 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.0008756/18.47, allocations: 162.4 kB / 5.638 GB, free: 28.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008807/18.47, allocations: 221 kB / 5.638 GB, free: 28.59 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/18.47, allocations: 1.777 MB / 5.64 GB, free: 28.49 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/18.47, allocations: 13.78 kB / 5.64 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/18.47, allocations: 0 / 5.64 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/18.47, allocations: 9.344 kB / 5.64 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/18.48, allocations: 4.189 MB / 5.644 GB, free: 27.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/18.48, allocations: 6.188 kB / 5.644 GB, free: 27.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006783/18.49, allocations: 1.007 MB / 5.645 GB, free: 27.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/18.49, allocations: 10.73 kB / 5.645 GB, free: 27.99 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/18.49, allocations: 16.02 kB / 5.645 GB, free: 27.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/18.5, allocations: 6.217 MB / 5.651 GB, free: 22.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/18.5, allocations: 6.094 kB / 5.651 GB, free: 22.97 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004615/18.5, allocations: 2.178 MB / 5.653 GB, free: 22.11 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005066/18.51, allocations: 3.028 MB / 5.656 GB, free: 20.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/18.51, allocations: 0.5358 MB / 5.656 GB, free: 20.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/18.51, allocations: 12.47 kB / 5.656 GB, free: 20.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/18.52, allocations: 299.3 kB / 5.657 GB, free: 20.63 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/18.52, allocations: 70.28 kB / 5.657 GB, free: 20.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/18.52, allocations: 74.47 kB / 5.657 GB, free: 20.63 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002042/18.52, allocations: 1.188 MB / 5.658 GB, free: 20.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01367/18.53, allocations: 3.695 MB / 5.662 GB, free: 20.29 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.01366/18.55, allocations: 8.393 MB / 5.67 GB, free: 16.05 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01458/18.56, allocations: 4.136 MB / 5.674 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.928e-05/18.56, allocations: 1.688 kB / 5.674 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00804/18.57, allocations: 1.624 MB / 5.675 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/18.57, allocations: 0.7205 MB / 5.676 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009135/18.58, allocations: 3.293 MB / 5.679 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/18.59, allocations: 1.997 MB / 5.681 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of SimCode: time 1.002e-06/18.59, allocations: 0 / 5.681 GB, free: 13.85 MB / 0.7605 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)