Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.249/2.249, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001723/0.001722, allocations: 192.1 kB / 315.1 MB, free: 4.242 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.881/1.881, allocations: 205.1 MB / 0.5658 GB, free: 280 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 85.8 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4794/0.4807, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.6983, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.446/7.144, allocations: 2.483 GB / 3.366 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/7.145, allocations: 98.56 kB / 3.366 GB, free: 225.3 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: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 6.412/13.56, allocations: 1.366 GB / 4.732 GB, free: 94.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/13.56, allocations: 7.75 kB / 4.732 GB, free: 94.71 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/13.56, allocations: 0.6676 MB / 4.733 GB, free: 94.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04224/13.61, allocations: 10.87 MB / 4.743 GB, free: 93.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/13.61, allocations: 51.78 kB / 4.743 GB, free: 93.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/13.61, allocations: 104.9 kB / 4.743 GB, free: 93.72 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005726/13.61, allocations: 1.465 MB / 4.745 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006621/13.62, allocations: 1.732 MB / 4.747 GB, free: 93.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.71e-05/13.62, allocations: 7.781 kB / 4.747 GB, free: 93.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/13.62, allocations: 3.562 kB / 4.747 GB, free: 93.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-05/13.62, allocations: 68.66 kB / 4.747 GB, free: 93.49 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/13.64, allocations: 10.42 MB / 4.757 GB, free: 87.67 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/13.64, allocations: 0.7019 MB / 4.758 GB, free: 87.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/13.65, allocations: 0.5504 MB / 4.758 GB, free: 87.64 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002463/13.65, allocations: 2.229 MB / 4.76 GB, free: 85.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/13.65, allocations: 43 kB / 4.76 GB, free: 85.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 4.428e-06/13.65, allocations: 0 / 4.76 GB, free: 85.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.02067/13.67, allocations: 3.511 MB / 4.764 GB, free: 84.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/13.67, allocations: 64.67 kB / 4.764 GB, free: 84.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/13.67, allocations: 1.305 MB / 4.765 GB, free: 84.13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003733/13.67, allocations: 29.36 kB / 4.765 GB, free: 84.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/13.67, allocations: 0.7071 MB / 4.766 GB, free: 83.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/13.68, allocations: 360.3 kB / 4.766 GB, free: 83.48 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/13.68, allocations: 5.969 kB / 4.766 GB, free: 83.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002111/13.68, allocations: 352.2 kB / 4.766 GB, free: 83.17 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/13.68, allocations: 432.8 kB / 4.767 GB, free: 83.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/13.68, allocations: 0.7257 MB / 4.768 GB, free: 82.83 MB / 0.9167 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.01962/13.7, allocations: 2.072 MB / 4.77 GB, free: 82.71 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/13.7, allocations: 3.125 kB / 4.77 GB, free: 82.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008122/13.71, allocations: 1.676 MB / 4.771 GB, free: 82.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006931/13.71, allocations: 3.012 MB / 4.774 GB, free: 79.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/13.71, allocations: 18.39 kB / 4.774 GB, free: 79.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/13.71, allocations: 154.8 kB / 4.774 GB, free: 79.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/13.71, allocations: 245.4 kB / 4.775 GB, free: 79.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/13.71, allocations: 1.23 MB / 4.776 GB, free: 78.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/13.72, allocations: 123.5 kB / 4.776 GB, free: 78.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005183/13.72, allocations: 63.84 kB / 4.776 GB, free: 78.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/13.72, allocations: 6.25 kB / 4.776 GB, free: 78.35 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007012/13.73, allocations: 1.454 MB / 4.777 GB, free: 78.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.679e-05/13.73, allocations: 16.61 kB / 4.777 GB, free: 78.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009698/13.73, allocations: 151.2 kB / 4.778 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/13.73, allocations: 245 kB / 4.778 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/13.73, allocations: 1.232 MB / 4.779 GB, free: 77.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/13.73, allocations: 117.6 kB / 4.779 GB, free: 77.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/13.73, allocations: 65.7 kB / 4.779 GB, free: 77.23 MB / 0.9167 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.0004571/13.73, allocations: 144 kB / 4.779 GB, free: 77.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/13.74, allocations: 197.8 kB / 4.779 GB, free: 77.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/13.74, allocations: 1.986 MB / 4.781 GB, free: 76.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/13.74, allocations: 16.62 kB / 4.781 GB, free: 76.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/13.74, allocations: 0 / 4.781 GB, free: 76.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005787/13.75, allocations: 1.563 MB / 4.783 GB, free: 76.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/13.76, allocations: 3.784 MB / 4.787 GB, free: 76.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-05/13.76, allocations: 14.55 kB / 4.787 GB, free: 76.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/13.77, allocations: 183.3 kB / 4.787 GB, free: 76.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008294/13.77, allocations: 151.1 kB / 4.787 GB, free: 76.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/13.77, allocations: 26.81 kB / 4.787 GB, free: 76.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/13.77, allocations: 2.641 MB / 4.79 GB, free: 73.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/13.77, allocations: 6.281 kB / 4.79 GB, free: 73.78 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009109/13.78, allocations: 2.899 MB / 4.792 GB, free: 72.84 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01211/13.79, allocations: 4.272 MB / 4.797 GB, free: 71.51 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/13.79, allocations: 459 kB / 4.797 GB, free: 71.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008087/13.79, allocations: 17.16 kB / 4.797 GB, free: 71.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/13.8, allocations: 93.95 kB / 4.797 GB, free: 71.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/13.8, allocations: 86 kB / 4.797 GB, free: 71.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/13.8, allocations: 57.14 kB / 4.797 GB, free: 71.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002759/13.8, allocations: 0.9946 MB / 4.798 GB, free: 71.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01182/13.81, allocations: 2.175 MB / 4.8 GB, free: 71.09 MB / 0.9167 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.00722/13.82, allocations: 3.711 MB / 4.804 GB, free: 69.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00607/13.83, allocations: 2.217 MB / 4.806 GB, free: 69.19 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/13.83, allocations: 2.375 kB / 4.806 GB, free: 69.19 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/13.83, allocations: 0.961 MB / 4.807 GB, free: 68.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009197/13.84, allocations: 0.8569 MB / 4.808 GB, free: 68.85 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/13.86, allocations: 3.825 MB / 4.812 GB, free: 67.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003291/13.86, allocations: 1.879 MB / 4.814 GB, free: 67.17 MB / 0.9167 GB Notification: Performance of SimCode: time 1.693e-06/13.86, allocations: 0 / 4.814 GB, free: 67.17 MB / 0.9167 GB