Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries",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.8644/0.8644, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001287/0.001287, allocations: 185.2 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 399.1 MB, free: 6.148 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.0009487/0.0009485, allocations: 89.81 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3916/0.3926, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.6015, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.876/6.478, allocations: 2.137 GB / 2.758 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.478, allocations: 87.95 kB / 2.758 GB, free: 31.53 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 4.049/10.53, allocations: 0.9468 GB / 3.705 GB, free: 98.26 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/10.53, allocations: 8 kB / 3.705 GB, free: 98.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/10.53, allocations: 186.5 kB / 3.705 GB, free: 98.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/10.53, allocations: 1.094 MB / 3.706 GB, free: 96.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/10.53, allocations: 16 kB / 3.706 GB, free: 96.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/10.53, allocations: 32 kB / 3.706 GB, free: 96.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008669/10.53, allocations: 0.5055 MB / 3.707 GB, free: 96.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/10.53, allocations: 0.5081 MB / 3.707 GB, free: 95.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/10.53, allocations: 0 / 3.707 GB, free: 95.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/10.53, allocations: 0 / 3.707 GB, free: 95.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/10.53, allocations: 12 kB / 3.707 GB, free: 95.88 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/10.54, allocations: 3.165 MB / 3.71 GB, free: 92.38 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/10.54, allocations: 457.3 kB / 3.711 GB, free: 91.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/10.54, allocations: 239 kB / 3.711 GB, free: 91.69 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/10.54, allocations: 195.6 kB / 3.711 GB, free: 91.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/10.54, allocations: 42.73 kB / 3.711 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/10.54, allocations: 0 / 3.711 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.01343/10.55, allocations: 2.366 MB / 3.713 GB, free: 89.04 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/10.55, allocations: 59.41 kB / 3.713 GB, free: 88.97 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/10.55, allocations: 0.7782 MB / 3.714 GB, free: 88.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/10.55, allocations: 29.7 kB / 3.714 GB, free: 88.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/10.55, allocations: 300.8 kB / 3.715 GB, free: 87.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/10.56, allocations: 90.59 kB / 3.715 GB, free: 87.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/10.56, allocations: 0 / 3.715 GB, free: 87.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001409/10.56, allocations: 314 kB / 3.715 GB, free: 87.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/10.56, allocations: 283.7 kB / 3.715 GB, free: 87.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/10.56, allocations: 469.2 kB / 3.716 GB, free: 86.64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/10.56, allocations: 290.5 kB / 3.716 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/10.56, allocations: 0 / 3.716 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.01135/10.57, allocations: 2.166 MB / 3.718 GB, free: 84.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/10.57, allocations: 269.7 kB / 3.718 GB, free: 83.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/10.57, allocations: 4 kB / 3.718 GB, free: 83.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009368/10.57, allocations: 0.555 MB / 3.719 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/10.57, allocations: 23.92 kB / 3.719 GB, free: 83.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/10.57, allocations: 1.59 MB / 3.72 GB, free: 81.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/10.57, allocations: 131.7 kB / 3.721 GB, free: 81.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/10.57, allocations: 15.98 kB / 3.721 GB, free: 81.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/10.57, allocations: 4 kB / 3.721 GB, free: 81.55 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009095/10.57, allocations: 444.7 kB / 3.721 GB, free: 81.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/10.57, allocations: 4 kB / 3.721 GB, free: 81.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/10.57, allocations: 200.8 kB / 3.721 GB, free: 80.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/10.57, allocations: 23.92 kB / 3.721 GB, free: 80.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/10.58, allocations: 2.767 MB / 3.724 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/10.58, allocations: 67.75 kB / 3.724 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/10.58, allocations: 12 kB / 3.724 GB, free: 77.95 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/10.58, allocations: 109 kB / 3.724 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/10.58, allocations: 82.97 kB / 3.724 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/10.58, allocations: 96.41 kB / 3.724 GB, free: 77.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/10.58, allocations: 0 / 3.724 GB, free: 77.65 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/10.58, allocations: 7.938 kB / 3.724 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/10.58, allocations: 0 / 3.724 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/10.59, allocations: 2.724 MB / 3.727 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/10.59, allocations: 4.188 kB / 3.727 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/10.59, allocations: 27.92 kB / 3.727 GB, free: 74.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007669/10.59, allocations: 0.5199 MB / 3.727 GB, free: 74.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/10.59, allocations: 7.984 kB / 3.727 GB, free: 74.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/10.61, allocations: 6.43 MB / 3.734 GB, free: 67.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/10.61, allocations: 8 kB / 3.734 GB, free: 67.75 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008459/10.61, allocations: 2.005 MB / 3.736 GB, free: 65.67 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008523/10.62, allocations: 2.427 MB / 3.738 GB, free: 63.17 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/10.62, allocations: 156.1 kB / 3.738 GB, free: 63 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/10.62, allocations: 4 kB / 3.738 GB, free: 62.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/10.63, allocations: 119.7 kB / 3.738 GB, free: 62.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/10.63, allocations: 19.92 kB / 3.738 GB, free: 62.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/10.63, allocations: 11.98 kB / 3.738 GB, free: 62.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001056/10.63, allocations: 0.6318 MB / 3.739 GB, free: 62.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00422/10.63, allocations: 0.6762 MB / 3.74 GB, free: 61.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/10.63, allocations: 1.03 MB / 3.741 GB, free: 60.62 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001677/10.63, allocations: 0.9337 MB / 3.742 GB, free: 59.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/10.63, allocations: 3.938 kB / 3.742 GB, free: 59.67 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/10.64, allocations: 468.2 kB / 3.742 GB, free: 59.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/10.64, allocations: 361.5 kB / 3.742 GB, free: 58.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/10.64, allocations: 1.626 MB / 3.744 GB, free: 57.21 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/10.64, allocations: 1.253 MB / 3.745 GB, free: 55.93 MB / 0.6667 GB Notification: Performance of SimCode: time 1.973e-06/10.64, allocations: 4 kB / 3.745 GB, free: 55.92 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)