Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.TransportWaterAir,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.389/1.389, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001026/0.001026, allocations: 181.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008078, allocations: 94.86 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2221/0.223, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.7888, allocations: 115.3 MB / 0.9638 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.877/4.666, allocations: 2.365 GB / 3.329 GB, free: 115.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/4.666, allocations: 95.3 kB / 3.329 GB, free: 115.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 4.081/8.748, allocations: 1.405 GB / 4.734 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/8.748, allocations: 9.719 kB / 4.734 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/8.753, allocations: 0.6663 MB / 4.735 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/8.78, allocations: 11.03 MB / 4.745 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/8.781, allocations: 55.06 kB / 4.745 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006622/8.781, allocations: 104.2 kB / 4.745 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003378/8.785, allocations: 1.457 MB / 4.747 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/8.788, allocations: 1.731 MB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/8.788, allocations: 12.02 kB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/8.789, allocations: 0 / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/8.789, allocations: 64.56 kB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/8.8, allocations: 10.41 MB / 4.759 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/8.801, allocations: 0.6969 MB / 4.759 GB, free: 98.45 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/8.802, allocations: 0.5431 MB / 4.76 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/8.803, allocations: 2.224 MB / 4.762 GB, free: 96 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/8.803, allocations: 39.97 kB / 4.762 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=103): time 3.276e-06/8.803, allocations: 6.906 kB / 4.762 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.01033/8.813, allocations: 3.521 MB / 4.766 GB, free: 95.19 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/8.813, allocations: 63.25 kB / 4.766 GB, free: 95.12 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/8.815, allocations: 1.309 MB / 4.767 GB, free: 94.92 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-05/8.815, allocations: 28.42 kB / 4.767 GB, free: 94.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/8.816, allocations: 0.7013 MB / 4.768 GB, free: 94.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/8.816, allocations: 359.6 kB / 4.768 GB, free: 94.27 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/8.816, allocations: 0 / 4.768 GB, free: 94.27 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/8.816, allocations: 354.4 kB / 4.768 GB, free: 93.96 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/8.817, allocations: 429 kB / 4.769 GB, free: 93.96 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/8.817, allocations: 0.7344 MB / 4.77 GB, free: 93.62 MB / 0.9792 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.006646/8.824, allocations: 2.164 MB / 4.772 GB, free: 93.48 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/8.824, allocations: 0 / 4.772 GB, free: 93.48 MB / 0.9792 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004117/8.828, allocations: 1.676 MB / 4.773 GB, free: 93.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005069/8.829, allocations: 3.019 MB / 4.776 GB, free: 90.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/8.829, allocations: 18.41 kB / 4.776 GB, free: 90.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/8.829, allocations: 151 kB / 4.776 GB, free: 90.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/8.83, allocations: 245.8 kB / 4.777 GB, free: 90.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007741/8.831, allocations: 1.233 MB / 4.778 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/8.833, allocations: 125.7 kB / 4.778 GB, free: 89.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/8.833, allocations: 58.94 kB / 4.778 GB, free: 89.05 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/8.833, allocations: 7.25 kB / 4.778 GB, free: 89.05 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003596/8.837, allocations: 1.456 MB / 4.779 GB, free: 88.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/8.837, allocations: 10.75 kB / 4.779 GB, free: 88.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/8.837, allocations: 163.6 kB / 4.78 GB, free: 88.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/8.838, allocations: 240.3 kB / 4.78 GB, free: 88.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007172/8.839, allocations: 1.23 MB / 4.781 GB, free: 87.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/8.841, allocations: 114.7 kB / 4.781 GB, free: 87.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/8.841, allocations: 60.19 kB / 4.781 GB, free: 87.88 MB / 0.9792 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.0002653/8.841, allocations: 148.3 kB / 4.781 GB, free: 87.74 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/8.842, allocations: 196.5 kB / 4.782 GB, free: 87.64 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/8.846, allocations: 1.999 MB / 4.783 GB, free: 87.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/8.846, allocations: 14.09 kB / 4.783 GB, free: 87.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/8.846, allocations: 3.625 kB / 4.783 GB, free: 87.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002818/8.849, allocations: 1.561 MB / 4.785 GB, free: 87.14 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008013/8.857, allocations: 3.788 MB / 4.789 GB, free: 86.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/8.857, allocations: 18.39 kB / 4.789 GB, free: 86.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008795/8.858, allocations: 180.2 kB / 4.789 GB, free: 86.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/8.858, allocations: 153.9 kB / 4.789 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.787e-05/8.858, allocations: 28.47 kB / 4.789 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/8.86, allocations: 2.647 MB / 4.792 GB, free: 84.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/8.86, allocations: 8.125 kB / 4.792 GB, free: 84.31 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0053/8.865, allocations: 2.915 MB / 4.794 GB, free: 83.35 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006478/8.872, allocations: 4.277 MB / 4.799 GB, free: 81.08 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/8.874, allocations: 452.9 kB / 4.799 GB, free: 80.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000749/8.874, allocations: 11.38 kB / 4.799 GB, free: 80.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/8.876, allocations: 93.39 kB / 4.799 GB, free: 80.76 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/8.876, allocations: 86.17 kB / 4.799 GB, free: 80.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/8.877, allocations: 59.89 kB / 4.799 GB, free: 80.73 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00235/8.879, allocations: 0.984 MB / 4.8 GB, free: 80.28 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008331/8.887, allocations: 2.174 MB / 4.802 GB, free: 79.09 MB / 0.9792 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.004726/8.892, allocations: 3.721 MB / 4.806 GB, free: 77.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003185/8.895, allocations: 2.223 MB / 4.808 GB, free: 76.47 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/8.895, allocations: 1.781 kB / 4.808 GB, free: 76.47 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/8.896, allocations: 0.9566 MB / 4.809 GB, free: 75.94 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/8.901, allocations: 0.8692 MB / 4.81 GB, free: 75.77 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/8.913, allocations: 3.816 MB / 4.814 GB, free: 74.21 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/8.914, allocations: 1.888 MB / 4.816 GB, free: 73.36 MB / 0.9792 GB Notification: Performance of SimCode: time 1.263e-06/8.914, allocations: 0 / 4.816 GB, free: 73.36 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)