Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001019/0.001019, allocations: 185.2 kB / 361.1 MB, free: 7.066 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.081/1.081, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008448/0.0008449, allocations: 98.3 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.198/0.1989, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.6932, allocations: 115.3 MB / 0.9638 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7466/1.44, allocations: 439.3 MB / 1.393 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.44, allocations: 98.88 kB / 1.393 GB, free: 128.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 1.216/2.656, allocations: 468.7 MB / 1.851 GB, free: 95.91 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/2.656, allocations: 12 kB / 1.851 GB, free: 95.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/2.657, allocations: 138.4 kB / 1.851 GB, free: 95.76 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/2.677, allocations: 9.186 MB / 1.86 GB, free: 86.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/2.677, allocations: 24 kB / 1.86 GB, free: 86.58 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/2.677, allocations: 43.91 kB / 1.86 GB, free: 86.54 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001022/2.678, allocations: 459.2 kB / 1.86 GB, free: 86.09 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/2.679, allocations: 0.6411 MB / 1.861 GB, free: 85.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/2.679, allocations: 7.984 kB / 1.861 GB, free: 85.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/2.679, allocations: 0 / 1.861 GB, free: 85.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/2.68, allocations: 20 kB / 1.861 GB, free: 85.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/2.684, allocations: 4.339 MB / 1.865 GB, free: 80.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/2.684, allocations: 261.9 kB / 1.865 GB, free: 80.45 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/2.685, allocations: 188.8 kB / 1.865 GB, free: 80.26 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008804/2.685, allocations: 1.514 MB / 1.867 GB, free: 78.42 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/2.685, allocations: 38.56 kB / 1.867 GB, free: 78.38 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/2.685, allocations: 0 / 1.867 GB, free: 78.38 MB / 0.9323 GB Notification: Performance of matching and sorting (n=43): time 0.001958/2.687, allocations: 0.6466 MB / 1.868 GB, free: 77.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/2.687, allocations: 55.41 kB / 1.868 GB, free: 77.65 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/2.688, allocations: 0.6495 MB / 1.868 GB, free: 77 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/2.688, allocations: 25.7 kB / 1.868 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/2.688, allocations: 343.4 kB / 1.869 GB, free: 76.62 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/2.689, allocations: 149.8 kB / 1.869 GB, free: 76.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/2.689, allocations: 0 / 1.869 GB, free: 76.48 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/2.689, allocations: 329.9 kB / 1.869 GB, free: 76.15 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/2.689, allocations: 153.1 kB / 1.869 GB, free: 76 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/2.689, allocations: 306.5 kB / 1.87 GB, free: 75.64 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/2.69, allocations: 324.4 kB / 1.87 GB, free: 75.32 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.69, allocations: 0 / 1.87 GB, free: 75.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001964/2.692, allocations: 0.7479 MB / 1.871 GB, free: 74.56 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003241/2.693, allocations: 1.488 MB / 1.872 GB, free: 72.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/2.693, allocations: 11.91 kB / 1.872 GB, free: 72.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/2.693, allocations: 80.8 kB / 1.872 GB, free: 72.87 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/2.693, allocations: 107.8 kB / 1.872 GB, free: 72.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004513/2.694, allocations: 0.6147 MB / 1.873 GB, free: 72.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/2.695, allocations: 75.59 kB / 1.873 GB, free: 72.05 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/2.695, allocations: 31.98 kB / 1.873 GB, free: 72.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/2.695, allocations: 4 kB / 1.873 GB, free: 72.02 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/2.696, allocations: 0.6296 MB / 1.874 GB, free: 71.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/2.696, allocations: 7.984 kB / 1.874 GB, free: 71.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/2.697, allocations: 80.8 kB / 1.874 GB, free: 71.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/2.697, allocations: 100.1 kB / 1.874 GB, free: 71.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003496/2.697, allocations: 0.6186 MB / 1.874 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006951/2.698, allocations: 71.66 kB / 1.874 GB, free: 70.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/2.698, allocations: 36.08 kB / 1.874 GB, free: 70.45 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001376/2.698, allocations: 120.8 kB / 1.875 GB, free: 70.32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/2.699, allocations: 90.86 kB / 1.875 GB, free: 70.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/2.701, allocations: 1.113 MB / 1.876 GB, free: 69.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/2.701, allocations: 15.89 kB / 1.876 GB, free: 69.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/2.701, allocations: 0 / 1.876 GB, free: 69.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/2.702, allocations: 0.9219 MB / 1.877 GB, free: 68.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/2.706, allocations: 1.772 MB / 1.878 GB, free: 66.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/2.706, allocations: 4 kB / 1.878 GB, free: 66.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/2.706, allocations: 83.98 kB / 1.878 GB, free: 66.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/2.706, allocations: 44.84 kB / 1.878 GB, free: 66.15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/2.706, allocations: 15.98 kB / 1.879 GB, free: 66.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003434/2.706, allocations: 0.6031 MB / 1.879 GB, free: 65.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.707, allocations: 7.906 kB / 1.879 GB, free: 65.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002012/2.709, allocations: 1.277 MB / 1.88 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002461/2.711, allocations: 2.047 MB / 1.882 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/2.711, allocations: 263.7 kB / 1.883 GB, free: 61.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/2.712, allocations: 4 kB / 1.883 GB, free: 61.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/2.712, allocations: 59.72 kB / 1.883 GB, free: 61.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/2.712, allocations: 40.39 kB / 1.883 GB, free: 61.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/2.712, allocations: 31.97 kB / 1.883 GB, free: 61.68 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005982/2.713, allocations: 0.4952 MB / 1.883 GB, free: 61.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003239/2.716, allocations: 0.8073 MB / 1.884 GB, free: 60.38 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/2.717, allocations: 0.7378 MB / 1.885 GB, free: 59.68 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00128/2.719, allocations: 0.8999 MB / 1.886 GB, free: 58.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.719, allocations: 0 / 1.886 GB, free: 58.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004053/2.719, allocations: 373.3 kB / 1.886 GB, free: 58.36 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/2.721, allocations: 373 kB / 1.886 GB, free: 58 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/2.723, allocations: 1.368 MB / 1.888 GB, free: 56.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/2.724, allocations: 1.18 MB / 1.889 GB, free: 55.39 MB / 0.9323 GB Notification: Performance of SimCode: time 3.31e-07/2.724, allocations: 0 / 1.889 GB, free: 55.39 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)