Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",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.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 289.8 MB / 297.1 MB, free: 6.742 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.001114/0.001115, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.545/1.545, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009798/0.0009801, allocations: 92.88 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3271/0.3281, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/1.108, allocations: 116.3 MB / 0.9727 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/2.263, allocations: 446.1 MB / 1.408 GB, free: 43.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/2.264, allocations: 104.3 kB / 1.408 GB, free: 43.38 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 9.124/11.39, allocations: 2.352 GB / 3.761 GB, free: 45.7 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/11.39, allocations: 10.91 kB / 3.761 GB, free: 45.7 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/11.39, allocations: 0.7053 MB / 3.761 GB, free: 45.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1143/11.51, allocations: 43.07 MB / 3.803 GB, free: 38.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/11.51, allocations: 121.1 kB / 3.803 GB, free: 38.24 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/11.51, allocations: 231.7 kB / 3.804 GB, free: 38.23 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008194/11.52, allocations: 2.841 MB / 3.806 GB, free: 37.09 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009312/11.53, allocations: 3.472 MB / 3.81 GB, free: 35.55 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/11.53, allocations: 12.47 kB / 3.81 GB, free: 35.55 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003775/11.53, allocations: 4.438 kB / 3.81 GB, free: 35.55 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/11.53, allocations: 101.6 kB / 3.81 GB, free: 35.54 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03615/11.56, allocations: 23.72 MB / 3.833 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/11.57, allocations: 1.465 MB / 3.835 GB, free: 12.27 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/11.57, allocations: 1.289 MB / 3.836 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004242/11.57, allocations: 6.424 MB / 3.842 GB, free: 3.125 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002285/11.57, allocations: 1.359 MB / 3.843 GB, free: 1.742 MB / 1.042 GB Notification: Performance of pre-optimization done (n=261): time 6.622e-06/11.57, allocations: 4 kB / 3.843 GB, free: 1.738 MB / 1.042 GB Notification: Performance of matching and sorting (n=261): time 0.01129/11.59, allocations: 3.34 MB / 3.847 GB, free: 14.35 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/11.59, allocations: 107 kB / 3.847 GB, free: 14.22 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007669/11.59, allocations: 3.267 MB / 3.85 GB, free: 10.96 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.000883/11.59, allocations: 29.7 kB / 3.85 GB, free: 10.93 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002224/11.6, allocations: 1.456 MB / 3.851 GB, free: 9.453 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002259/11.6, allocations: 0.8813 MB / 3.852 GB, free: 8.559 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/11.6, allocations: 0 / 3.852 GB, free: 8.559 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004117/11.6, allocations: 411.8 kB / 3.853 GB, free: 8.152 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/11.6, allocations: 1.029 MB / 3.854 GB, free: 7.121 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/11.6, allocations: 1.656 MB / 3.855 GB, free: 5.203 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/11.61, allocations: 1.858 MB / 3.857 GB, free: 3.328 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.118e-05/11.61, allocations: 4 kB / 3.857 GB, free: 3.324 MB / 1.057 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01336/11.63, allocations: 3.829 MB / 3.861 GB, free: 15.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003089/11.63, allocations: 6.715 MB / 3.867 GB, free: 8.164 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/11.63, allocations: 27.98 kB / 3.867 GB, free: 8.137 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/11.63, allocations: 32 kB / 3.867 GB, free: 8.105 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/11.63, allocations: 0.6162 MB / 3.868 GB, free: 7.488 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-05/11.63, allocations: 38.03 kB / 3.868 GB, free: 7.453 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/11.64, allocations: 441 kB / 3.868 GB, free: 7.02 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006767/11.64, allocations: 159.9 kB / 3.869 GB, free: 6.863 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/11.64, allocations: 4 kB / 3.869 GB, free: 6.859 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01072/11.65, allocations: 3.305 MB / 3.872 GB, free: 3.52 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.7e-05/11.65, allocations: 31.98 kB / 3.872 GB, free: 3.488 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/11.65, allocations: 28.91 kB / 3.872 GB, free: 3.461 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/11.65, allocations: 0.6046 MB / 3.873 GB, free: 2.855 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.176e-05/11.65, allocations: 43.77 kB / 3.873 GB, free: 2.812 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005854/11.66, allocations: 417.4 kB / 3.873 GB, free: 2.402 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006478/11.66, allocations: 151.9 kB / 3.873 GB, free: 2.254 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001018/11.66, allocations: 170.8 kB / 3.873 GB, free: 2.082 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/11.66, allocations: 485 kB / 3.874 GB, free: 1.605 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/11.68, allocations: 5.758 MB / 3.879 GB, free: 11.84 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001849/11.68, allocations: 59.95 kB / 3.879 GB, free: 11.79 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/11.68, allocations: 3.938 kB / 3.879 GB, free: 11.78 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01106/11.69, allocations: 3.841 MB / 3.883 GB, free: 7.836 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7391/12.43, allocations: 9.031 MB / 3.892 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/12.43, allocations: 17.09 kB / 3.892 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/12.43, allocations: 0.535 MB / 3.893 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-05/12.43, allocations: 11.78 kB / 3.893 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/12.43, allocations: 68.55 kB / 3.893 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/12.43, allocations: 14.84 kB / 3.893 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/12.43, allocations: 7.938 kB / 3.893 GB, free: 164.6 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01391/12.45, allocations: 6.689 MB / 3.899 GB, free: 164 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01796/12.47, allocations: 9.582 MB / 3.909 GB, free: 163 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004966/12.47, allocations: 1.126 MB / 3.91 GB, free: 162.6 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002584/12.47, allocations: 19.56 kB / 3.91 GB, free: 162.6 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005914/12.48, allocations: 325.5 kB / 3.91 GB, free: 162.6 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006852/12.48, allocations: 211.5 kB / 3.91 GB, free: 162.6 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007607/12.48, allocations: 144.8 kB / 3.91 GB, free: 162.6 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.007016/12.49, allocations: 2.426 MB / 3.913 GB, free: 162.4 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02067/12.51, allocations: 4.59 MB / 3.917 GB, free: 162.3 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (352): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008435/12.52, allocations: 3.744 MB / 3.921 GB, free: 161.2 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01085/12.53, allocations: 5.457 MB / 3.926 GB, free: 160.4 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/12.53, allocations: 7.812 kB / 3.926 GB, free: 160.4 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003977/12.53, allocations: 2.223 MB / 3.928 GB, free: 160 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/12.54, allocations: 1.954 MB / 3.93 GB, free: 159.9 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/12.57, allocations: 8.391 MB / 3.938 GB, free: 158.1 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00706/12.58, allocations: 3.578 MB / 3.942 GB, free: 157.3 MB / 1.089 GB Notification: Performance of SimCode: time 1.292e-06/12.58, allocations: 5.281 kB / 3.942 GB, free: 157.3 MB / 1.089 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)