Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 181.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.1 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 87.39 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3383/0.3392, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.5032, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.505, allocations: 438.5 MB / 1.313 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.505, allocations: 95.94 kB / 1.313 GB, free: 309.1 MB / 0.8698 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 6.309/7.815, allocations: 2.286 GB / 3.599 GB, free: 48.18 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/7.815, allocations: 13.06 kB / 3.599 GB, free: 48.18 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/7.818, allocations: 0.7045 MB / 3.6 GB, free: 47.83 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09895/7.917, allocations: 42.03 MB / 3.641 GB, free: 44.89 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/7.917, allocations: 118.3 kB / 3.641 GB, free: 44.89 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/7.919, allocations: 234.2 kB / 3.641 GB, free: 44.89 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007127/7.926, allocations: 2.833 MB / 3.644 GB, free: 44.88 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00692/7.933, allocations: 3.447 MB / 3.647 GB, free: 44.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.366e-05/7.933, allocations: 19.56 kB / 3.647 GB, free: 44.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/7.933, allocations: 4.125 kB / 3.647 GB, free: 44.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/7.933, allocations: 100.5 kB / 3.648 GB, free: 44.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02648/7.96, allocations: 23.7 MB / 3.671 GB, free: 29.13 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/7.962, allocations: 1.456 MB / 3.672 GB, free: 28.58 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/7.964, allocations: 1.326 MB / 3.673 GB, free: 28.04 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003503/7.967, allocations: 6.423 MB / 3.68 GB, free: 20.71 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/7.97, allocations: 1.322 MB / 3.681 GB, free: 20.19 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=261): time 5.17e-06/7.97, allocations: 0 / 3.681 GB, free: 20.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=261): time 0.01123/7.981, allocations: 3.328 MB / 3.684 GB, free: 19.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/7.981, allocations: 110.9 kB / 3.684 GB, free: 18.96 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008206/7.989, allocations: 3.264 MB / 3.688 GB, free: 17.64 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006736/7.99, allocations: 33.48 kB / 3.688 GB, free: 17.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/7.991, allocations: 1.458 MB / 3.689 GB, free: 16.63 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/7.993, allocations: 0.8741 MB / 3.69 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/7.993, allocations: 0 / 3.69 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001365/7.993, allocations: 413.3 kB / 3.69 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/7.995, allocations: 1.023 MB / 3.691 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/7.997, allocations: 1.654 MB / 3.693 GB, free: 14 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006085/8.003, allocations: 1.855 MB / 3.695 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/8.003, allocations: 4.062 kB / 3.695 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01123/8.014, allocations: 3.824 MB / 3.698 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009609/8.015, allocations: 6.72 MB / 3.705 GB, free: 4.844 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.549e-05/8.015, allocations: 32.33 kB / 3.705 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.618e-05/8.015, allocations: 29 kB / 3.705 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/8.018, allocations: 0.6073 MB / 3.706 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.431e-05/8.018, allocations: 37.53 kB / 3.706 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/8.022, allocations: 447.9 kB / 3.706 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/8.023, allocations: 151 kB / 3.706 GB, free: 4.543 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/8.023, allocations: 4 kB / 3.706 GB, free: 4.539 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008367/8.031, allocations: 3.302 MB / 3.709 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.169e-05/8.031, allocations: 27.56 kB / 3.709 GB, free: 1.719 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/8.031, allocations: 32 kB / 3.709 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/8.033, allocations: 0.6086 MB / 3.71 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.953e-05/8.033, allocations: 34.61 kB / 3.71 GB, free: 1.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/8.038, allocations: 421.8 kB / 3.711 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/8.038, allocations: 149.5 kB / 3.711 GB, free: 0.6641 MB / 0.9792 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.0006661/8.039, allocations: 172.1 kB / 3.711 GB, free: 500 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/8.04, allocations: 485.8 kB / 3.711 GB, free: 12 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/8.054, allocations: 5.717 MB / 3.717 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/8.054, allocations: 62.16 kB / 3.717 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/8.054, allocations: 3.938 kB / 3.717 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008435/8.063, allocations: 3.837 MB / 3.721 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/8.087, allocations: 8.997 MB / 3.729 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-05/8.087, allocations: 16.03 kB / 3.729 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/8.09, allocations: 0.5321 MB / 3.73 GB, free: 388 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.345e-05/8.09, allocations: 16 kB / 3.73 GB, free: 372 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/8.09, allocations: 67.28 kB / 3.73 GB, free: 320 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.213e-05/8.09, allocations: 12.7 kB / 3.73 GB, free: 308 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/8.09, allocations: 7.938 kB / 3.73 GB, free: 300 kB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01593/8.106, allocations: 6.685 MB / 3.737 GB, free: 10.18 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01818/8.125, allocations: 9.564 MB / 3.746 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4742/8.599, allocations: 1.109 MB / 3.747 GB, free: 144.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/8.601, allocations: 14.89 kB / 3.747 GB, free: 144.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004507/8.605, allocations: 324.4 kB / 3.747 GB, free: 144.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/8.605, allocations: 210.1 kB / 3.748 GB, free: 144.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003306/8.606, allocations: 141.6 kB / 3.748 GB, free: 144.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.004002/8.61, allocations: 2.421 MB / 3.75 GB, free: 144 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01499/8.625, allocations: 4.591 MB / 3.755 GB, free: 144 MB / 1.01 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.005479/8.63, allocations: 3.752 MB / 3.758 GB, free: 143 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007161/8.638, allocations: 5.446 MB / 3.764 GB, free: 142.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/8.638, allocations: 3.688 kB / 3.764 GB, free: 142.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002465/8.64, allocations: 2.216 MB / 3.766 GB, free: 141.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00999/8.65, allocations: 1.953 MB / 3.768 GB, free: 141.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/8.667, allocations: 8.408 MB / 3.776 GB, free: 139.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003424/8.67, allocations: 3.567 MB / 3.779 GB, free: 139.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.032e-06/8.67, allocations: 1.859 kB / 3.779 GB, free: 139.1 MB / 1.01 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)