Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.TransportWaterAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",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.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.594 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 189.2 kB / 316 MB, free: 7.938 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.1 MB / 0.5667 GB, free: 3.41 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008466/0.0008465, allocations: 84.53 kB / 0.671 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.3777/0.3786, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.5628, allocations: 106.3 MB / 0.8847 GB, free: 264 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.252/4.814, allocations: 2.483 GB / 3.367 GB, free: 293.6 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/4.815, allocations: 103.9 kB / 3.367 GB, free: 293.5 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 3.814/8.629, allocations: 1.366 GB / 4.734 GB, free: 92.49 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/8.629, allocations: 6.938 kB / 4.734 GB, free: 92.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/8.633, allocations: 0.6624 MB / 4.734 GB, free: 92.35 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02404/8.657, allocations: 10.88 MB / 4.745 GB, free: 91.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/8.657, allocations: 57.78 kB / 4.745 GB, free: 91.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/8.657, allocations: 107.2 kB / 4.745 GB, free: 91.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002471/8.66, allocations: 1.453 MB / 4.746 GB, free: 91.67 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/8.662, allocations: 1.735 MB / 4.748 GB, free: 91.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/8.662, allocations: 5.125 kB / 4.748 GB, free: 91.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/8.662, allocations: 0 / 4.748 GB, free: 91.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/8.663, allocations: 69.73 kB / 4.748 GB, free: 91.45 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/8.674, allocations: 10.41 MB / 4.758 GB, free: 85.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/8.675, allocations: 0.7022 MB / 4.759 GB, free: 85.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/8.675, allocations: 0.5529 MB / 4.76 GB, free: 85.67 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/8.677, allocations: 2.221 MB / 4.762 GB, free: 83.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/8.677, allocations: 44.75 kB / 4.762 GB, free: 83.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=103): time 3.347e-06/8.677, allocations: 3.469 kB / 4.762 GB, free: 83.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=105): time 0.01044/8.687, allocations: 3.519 MB / 4.765 GB, free: 82.45 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/8.687, allocations: 60 kB / 4.765 GB, free: 82.39 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/8.689, allocations: 1.312 MB / 4.767 GB, free: 82.19 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/8.689, allocations: 29.48 kB / 4.767 GB, free: 82.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/8.69, allocations: 0.7036 MB / 4.767 GB, free: 81.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/8.69, allocations: 357.7 kB / 4.768 GB, free: 81.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/8.69, allocations: 0 / 4.768 GB, free: 81.53 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/8.69, allocations: 356.1 kB / 4.768 GB, free: 81.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/8.691, allocations: 430.8 kB / 4.768 GB, free: 81.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/8.691, allocations: 0.7262 MB / 4.769 GB, free: 80.89 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol.dynBal.medium.p = duc.vol.dynBal.p_start (sin1.p = duc.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006267/8.698, allocations: 2.076 MB / 4.771 GB, free: 80.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/8.698, allocations: 8.312 kB / 4.771 GB, free: 80.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003725/8.701, allocations: 1.67 MB / 4.773 GB, free: 80.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005035/8.702, allocations: 3.009 MB / 4.776 GB, free: 77.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/8.702, allocations: 18.66 kB / 4.776 GB, free: 77.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/8.702, allocations: 153.3 kB / 4.776 GB, free: 77.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/8.703, allocations: 245.3 kB / 4.776 GB, free: 77.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008084/8.704, allocations: 1.236 MB / 4.777 GB, free: 76.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/8.706, allocations: 125.2 kB / 4.777 GB, free: 76.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/8.706, allocations: 69.33 kB / 4.777 GB, free: 76.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/8.706, allocations: 5.5 kB / 4.777 GB, free: 76.41 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003325/8.71, allocations: 1.449 MB / 4.779 GB, free: 76.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/8.71, allocations: 10.66 kB / 4.779 GB, free: 76.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/8.71, allocations: 162.2 kB / 4.779 GB, free: 76.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/8.711, allocations: 242.1 kB / 4.779 GB, free: 76.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/8.712, allocations: 1.232 MB / 4.78 GB, free: 75.31 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/8.714, allocations: 117.4 kB / 4.781 GB, free: 75.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/8.714, allocations: 60.91 kB / 4.781 GB, free: 75.29 MB / 0.92 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: duc.vol.dynBal.medium.p = duc.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000277/8.714, allocations: 139.3 kB / 4.781 GB, free: 75.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/8.714, allocations: 197.5 kB / 4.781 GB, free: 75.08 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/8.718, allocations: 1.979 MB / 4.783 GB, free: 74.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/8.718, allocations: 18.89 kB / 4.783 GB, free: 74.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/8.718, allocations: 0 / 4.783 GB, free: 74.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002781/8.721, allocations: 1.564 MB / 4.784 GB, free: 74.61 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/8.728, allocations: 3.783 MB / 4.788 GB, free: 74.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/8.728, allocations: 8.844 kB / 4.788 GB, free: 74.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/8.729, allocations: 181.7 kB / 4.788 GB, free: 74.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/8.729, allocations: 154.6 kB / 4.788 GB, free: 74.09 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/8.729, allocations: 28.25 kB / 4.788 GB, free: 74.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/8.731, allocations: 2.645 MB / 4.791 GB, free: 71.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/8.731, allocations: 7.031 kB / 4.791 GB, free: 71.86 MB / 0.92 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004333/8.735, allocations: 2.897 MB / 4.794 GB, free: 70.91 MB / 0.92 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00554/8.741, allocations: 4.264 MB / 4.798 GB, free: 69.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/8.742, allocations: 459.1 kB / 4.798 GB, free: 69.39 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/8.742, allocations: 11.81 kB / 4.798 GB, free: 69.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/8.743, allocations: 98.8 kB / 4.799 GB, free: 69.38 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/8.744, allocations: 89.28 kB / 4.799 GB, free: 69.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/8.744, allocations: 55.3 kB / 4.799 GB, free: 69.38 MB / 0.92 GB Notification: Performance of sort global known variables: time 0.001335/8.745, allocations: 0.9902 MB / 4.8 GB, free: 69.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006088/8.751, allocations: 2.176 MB / 4.802 GB, free: 69.17 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,duc.cor.del.x,duc.cor.timDel.x,duc.vol.dynBal.U,duc.vol.dynBal.mXi[1],duc.vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00442/8.756, allocations: 3.718 MB / 4.805 GB, free: 67.72 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003491/8.759, allocations: 2.215 MB / 4.808 GB, free: 67.31 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/8.759, allocations: 0 / 4.808 GB, free: 67.31 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/8.76, allocations: 0.961 MB / 4.809 GB, free: 67.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/8.765, allocations: 0.8578 MB / 4.809 GB, free: 66.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009533/8.774, allocations: 3.822 MB / 4.813 GB, free: 66.06 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/8.776, allocations: 1.889 MB / 4.815 GB, free: 65.33 MB / 0.92 GB Notification: Performance of SimCode: time 6.81e-07/8.776, allocations: 0 / 4.815 GB, free: 65.33 MB / 0.92 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)