Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.532/2.532, allocations: 284.8 MB / 292.1 MB, free: 9.922 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.001702/0.001702, allocations: 179.8 kB / 360.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.1 MB / 0.6187 GB, free: 3.293 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 100.5 kB / 0.7317 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5667/0.5681, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.8177, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.915, allocations: 445.1 MB / 1.397 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.915, allocations: 98 kB / 1.397 GB, free: 12.81 MB / 0.9011 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 12.07/13.99, allocations: 2.352 GB / 3.749 GB, free: 62.67 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/13.99, allocations: 12.16 kB / 3.749 GB, free: 62.67 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/13.99, allocations: 0.7102 MB / 3.75 GB, free: 62.32 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1939/14.19, allocations: 43.06 MB / 3.792 GB, free: 59.95 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/14.19, allocations: 119.1 kB / 3.792 GB, free: 59.95 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/14.19, allocations: 227.8 kB / 3.792 GB, free: 59.95 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01453/14.21, allocations: 2.848 MB / 3.795 GB, free: 59.93 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/14.22, allocations: 3.468 MB / 3.799 GB, free: 59.48 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/14.22, allocations: 21.11 kB / 3.799 GB, free: 59.48 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/14.22, allocations: 7.031 kB / 3.799 GB, free: 59.48 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/14.22, allocations: 102.7 kB / 3.799 GB, free: 59.48 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04848/14.27, allocations: 23.72 MB / 3.822 GB, free: 46.1 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/14.28, allocations: 1.46 MB / 3.823 GB, free: 46.07 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/14.28, allocations: 1.281 MB / 3.825 GB, free: 46.05 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005576/14.29, allocations: 6.424 MB / 3.831 GB, free: 38.83 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004584/14.29, allocations: 1.353 MB / 3.832 GB, free: 38.74 MB / 1.073 GB Notification: Performance of pre-optimization done (n=261): time 7.243e-06/14.29, allocations: 0.7656 kB / 3.832 GB, free: 38.74 MB / 1.073 GB Notification: Performance of matching and sorting (n=261): time 0.01699/14.31, allocations: 3.346 MB / 3.835 GB, free: 38.39 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/14.31, allocations: 101.9 kB / 3.836 GB, free: 38.29 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/14.32, allocations: 3.276 MB / 3.839 GB, free: 37.96 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008534/14.32, allocations: 29.27 kB / 3.839 GB, free: 37.93 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002612/14.32, allocations: 1.457 MB / 3.84 GB, free: 37.2 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002265/14.32, allocations: 0.8792 MB / 3.841 GB, free: 36.61 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/14.32, allocations: 0 / 3.841 GB, free: 36.61 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002213/14.32, allocations: 412.6 kB / 3.841 GB, free: 36.31 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/14.33, allocations: 1.029 MB / 3.842 GB, free: 36.3 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/14.33, allocations: 1.651 MB / 3.844 GB, free: 35.62 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/14.34, allocations: 1.86 MB / 3.846 GB, free: 35.57 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-05/14.34, allocations: 8.844 kB / 3.846 GB, free: 35.57 MB / 1.073 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.0189/14.36, allocations: 3.831 MB / 3.85 GB, free: 35.21 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001491/14.36, allocations: 6.713 MB / 3.856 GB, free: 28.12 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000228/14.36, allocations: 29.77 kB / 3.856 GB, free: 28.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-05/14.36, allocations: 27.22 kB / 3.856 GB, free: 28.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005436/14.37, allocations: 0.6139 MB / 3.857 GB, free: 28.12 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-05/14.37, allocations: 38.09 kB / 3.857 GB, free: 28.12 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/14.38, allocations: 448.4 kB / 3.857 GB, free: 27.99 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/14.38, allocations: 153.2 kB / 3.857 GB, free: 27.99 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/14.38, allocations: 7 kB / 3.857 GB, free: 27.99 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0172/14.4, allocations: 3.306 MB / 3.861 GB, free: 27.91 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/14.4, allocations: 32.11 kB / 3.861 GB, free: 27.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.827e-05/14.4, allocations: 30.34 kB / 3.861 GB, free: 27.91 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004842/14.4, allocations: 0.6056 MB / 3.861 GB, free: 27.91 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.504e-05/14.4, allocations: 37.25 kB / 3.861 GB, free: 27.91 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/14.41, allocations: 419.2 kB / 3.862 GB, free: 27.79 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/14.41, allocations: 152 kB / 3.862 GB, free: 27.79 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.001349/14.41, allocations: 172.4 kB / 3.862 GB, free: 27.67 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002179/14.41, allocations: 483.6 kB / 3.863 GB, free: 27.42 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02538/14.44, allocations: 5.768 MB / 3.868 GB, free: 27.21 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001725/14.44, allocations: 55.42 kB / 3.868 GB, free: 27.21 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/14.44, allocations: 0 / 3.868 GB, free: 27.21 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01651/14.46, allocations: 3.842 MB / 3.872 GB, free: 26.69 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04149/14.5, allocations: 9.044 MB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001416/14.5, allocations: 15.73 kB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005222/14.5, allocations: 0.5353 MB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/14.5, allocations: 14.06 kB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008023/14.5, allocations: 65.25 kB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.343e-05/14.5, allocations: 18.78 kB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/14.5, allocations: 2.25 kB / 3.881 GB, free: 26.09 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02513/14.53, allocations: 6.689 MB / 3.888 GB, free: 25.2 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0287/14.56, allocations: 9.583 MB / 3.897 GB, free: 23.9 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005368/14.56, allocations: 1.125 MB / 3.898 GB, free: 23.5 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/14.57, allocations: 11.59 kB / 3.898 GB, free: 23.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007783/14.57, allocations: 322 kB / 3.899 GB, free: 23.48 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/14.58, allocations: 214.5 kB / 3.899 GB, free: 23.47 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006804/14.58, allocations: 144.9 kB / 3.899 GB, free: 23.47 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.007947/14.58, allocations: 2.428 MB / 3.901 GB, free: 23.29 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02314/14.61, allocations: 4.587 MB / 3.906 GB, free: 22.78 MB / 1.073 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.009854/14.62, allocations: 3.75 MB / 3.91 GB, free: 21.46 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01598/14.63, allocations: 5.453 MB / 3.915 GB, free: 20.62 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/14.63, allocations: 9.031 kB / 3.915 GB, free: 20.62 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005685/14.64, allocations: 2.222 MB / 3.917 GB, free: 20.23 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02836/14.67, allocations: 1.97 MB / 3.919 GB, free: 20.2 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03878/14.71, allocations: 8.392 MB / 3.927 GB, free: 18.32 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008389/14.71, allocations: 3.583 MB / 3.931 GB, free: 17.51 MB / 1.073 GB Notification: Performance of SimCode: time 1.393e-06/14.71, allocations: 0 / 3.931 GB, free: 17.51 MB / 1.073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)