Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowAIT,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.413/1.413, allocations: 285.5 MB / 292.8 MB, free: 9.828 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.0009751/0.000975, allocations: 195.5 kB / 361.1 MB, free: 360 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.1 MB / 0.6195 GB, free: 2.926 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.0008318/0.0008319, allocations: 99.5 kB / 0.7326 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4259/0.4267, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.6173, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7656/1.383, allocations: 445.1 MB / 1.398 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.383, allocations: 93.44 kB / 1.399 GB, free: 7.277 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 7.096/8.479, allocations: 2.352 GB / 3.751 GB, free: 61.79 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/8.479, allocations: 10.59 kB / 3.751 GB, free: 61.79 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/8.482, allocations: 0.7101 MB / 3.751 GB, free: 61.45 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.097/8.579, allocations: 43.06 MB / 3.793 GB, free: 59.09 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/8.579, allocations: 116.8 kB / 3.794 GB, free: 59.09 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008529/8.58, allocations: 229.4 kB / 3.794 GB, free: 59.08 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005634/8.585, allocations: 2.841 MB / 3.797 GB, free: 59.07 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005834/8.591, allocations: 3.479 MB / 3.8 GB, free: 58.62 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.655e-05/8.591, allocations: 11.75 kB / 3.8 GB, free: 58.62 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/8.592, allocations: 3.719 kB / 3.8 GB, free: 58.62 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.436e-05/8.592, allocations: 103.3 kB / 3.8 GB, free: 58.62 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/8.62, allocations: 23.73 MB / 3.823 GB, free: 45.25 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/8.622, allocations: 1.456 MB / 3.825 GB, free: 45.22 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/8.623, allocations: 1.29 MB / 3.826 GB, free: 45.2 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003589/8.627, allocations: 6.426 MB / 3.832 GB, free: 37.97 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/8.629, allocations: 1.35 MB / 3.834 GB, free: 37.89 MB / 1.057 GB Notification: Performance of pre-optimization done (n=261): time 6.502e-06/8.629, allocations: 2.688 kB / 3.834 GB, free: 37.89 MB / 1.057 GB Notification: Performance of matching and sorting (n=261): time 0.00949/8.639, allocations: 3.344 MB / 3.837 GB, free: 37.53 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/8.639, allocations: 106.3 kB / 3.837 GB, free: 37.44 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005341/8.644, allocations: 3.269 MB / 3.84 GB, free: 37.11 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0003323/8.644, allocations: 30.67 kB / 3.84 GB, free: 37.08 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/8.646, allocations: 1.456 MB / 3.842 GB, free: 36.36 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/8.647, allocations: 0.8713 MB / 3.842 GB, free: 35.77 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/8.647, allocations: 0 / 3.842 GB, free: 35.77 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001317/8.647, allocations: 410.2 kB / 3.843 GB, free: 35.46 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/8.649, allocations: 1.027 MB / 3.844 GB, free: 35.46 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/8.65, allocations: 1.658 MB / 3.845 GB, free: 34.77 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006008/8.656, allocations: 1.86 MB / 3.847 GB, free: 34.73 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/8.656, allocations: 8.188 kB / 3.847 GB, free: 34.72 MB / 1.057 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01013/8.667, allocations: 3.84 MB / 3.851 GB, free: 34.36 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/8.668, allocations: 6.703 MB / 3.858 GB, free: 27.28 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-05/8.668, allocations: 37.41 kB / 3.858 GB, free: 27.28 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-05/8.668, allocations: 29.38 kB / 3.858 GB, free: 27.28 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/8.67, allocations: 0.6085 MB / 3.858 GB, free: 27.28 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/8.67, allocations: 35.7 kB / 3.858 GB, free: 27.28 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/8.675, allocations: 454.7 kB / 3.859 GB, free: 27.14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/8.675, allocations: 153.5 kB / 3.859 GB, free: 27.14 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/8.675, allocations: 7.062 kB / 3.859 GB, free: 27.14 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00824/8.683, allocations: 3.304 MB / 3.862 GB, free: 27.06 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-05/8.683, allocations: 32.08 kB / 3.862 GB, free: 27.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/8.683, allocations: 31.41 kB / 3.862 GB, free: 27.06 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/8.685, allocations: 0.6007 MB / 3.863 GB, free: 27.06 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/8.685, allocations: 41.19 kB / 3.863 GB, free: 27.06 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/8.69, allocations: 417.3 kB / 3.863 GB, free: 26.95 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/8.69, allocations: 152.2 kB / 3.863 GB, free: 26.95 MB / 1.057 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.0006343/8.691, allocations: 181 kB / 3.863 GB, free: 26.82 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008493/8.692, allocations: 480 kB / 3.864 GB, free: 26.57 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/8.703, allocations: 5.757 MB / 3.869 GB, free: 26.33 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/8.703, allocations: 56.44 kB / 3.87 GB, free: 26.33 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/8.703, allocations: 6.969 kB / 3.87 GB, free: 26.33 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006794/8.71, allocations: 3.847 MB / 3.873 GB, free: 25.81 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/8.729, allocations: 9.041 MB / 3.882 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/8.729, allocations: 18.94 kB / 3.882 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/8.731, allocations: 0.5349 MB / 3.883 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-05/8.731, allocations: 14.41 kB / 3.883 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/8.731, allocations: 66.84 kB / 3.883 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/8.731, allocations: 14.88 kB / 3.883 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/8.731, allocations: 6.125 kB / 3.883 GB, free: 25.21 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01084/8.742, allocations: 6.686 MB / 3.889 GB, free: 24.32 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01403/8.756, allocations: 9.581 MB / 3.899 GB, free: 23.03 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003283/8.759, allocations: 1.12 MB / 3.9 GB, free: 22.62 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009937/8.761, allocations: 16.03 kB / 3.9 GB, free: 22.62 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/8.764, allocations: 319.9 kB / 3.9 GB, free: 22.61 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/8.764, allocations: 213 kB / 3.9 GB, free: 22.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002993/8.764, allocations: 148.7 kB / 3.9 GB, free: 22.6 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.003744/8.768, allocations: 2.427 MB / 3.903 GB, free: 22.42 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01448/8.782, allocations: 4.59 MB / 3.907 GB, free: 21.91 MB / 1.057 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.006586/8.789, allocations: 3.77 MB / 3.911 GB, free: 20.51 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007694/8.797, allocations: 5.449 MB / 3.916 GB, free: 19.66 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/8.797, allocations: 4.812 kB / 3.916 GB, free: 19.66 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/8.8, allocations: 2.225 MB / 3.918 GB, free: 35.28 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/8.81, allocations: 1.952 MB / 3.92 GB, free: 35.24 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/8.827, allocations: 8.398 MB / 3.929 GB, free: 33.38 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003634/8.831, allocations: 3.578 MB / 3.932 GB, free: 32.56 MB / 1.073 GB Notification: Performance of SimCode: time 9.42e-07/8.831, allocations: 0 / 3.932 GB, free: 32.56 MB / 1.073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)