Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001653/0.001653, allocations: 181.3 kB / 366.3 MB, free: 2.008 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.677/1.677, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009466/0.0009468, allocations: 90.77 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2935/0.2945, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/1.044, allocations: 116.3 MB / 0.9727 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.21/6.254, allocations: 2.366 GB / 3.338 GB, free: 83.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/6.255, allocations: 95.94 kB / 3.338 GB, free: 83.18 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 5.417/11.67, allocations: 1.405 GB / 4.744 GB, free: 114 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/11.67, allocations: 7.469 kB / 4.744 GB, free: 114 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/11.68, allocations: 0.6635 MB / 4.744 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0327/11.71, allocations: 11.05 MB / 4.755 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/11.71, allocations: 54.03 kB / 4.755 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009501/11.71, allocations: 96.84 kB / 4.755 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004543/11.72, allocations: 1.452 MB / 4.757 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/11.72, allocations: 1.737 MB / 4.758 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/11.72, allocations: 3.875 kB / 4.758 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004737/11.72, allocations: 3.844 kB / 4.758 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/11.72, allocations: 73.02 kB / 4.758 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/11.74, allocations: 10.4 MB / 4.769 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/11.74, allocations: 0.6886 MB / 4.769 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/11.74, allocations: 0.544 MB / 4.77 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/11.74, allocations: 2.232 MB / 4.772 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/11.74, allocations: 47.19 kB / 4.772 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 5.721e-06/11.74, allocations: 0 / 4.772 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.01304/11.76, allocations: 3.517 MB / 4.775 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/11.76, allocations: 63.22 kB / 4.776 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/11.76, allocations: 1.311 MB / 4.777 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/11.76, allocations: 25.7 kB / 4.777 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/11.76, allocations: 0.7041 MB / 4.778 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/11.76, allocations: 357.4 kB / 4.778 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/11.76, allocations: 0 / 4.778 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/11.76, allocations: 349.4 kB / 4.778 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/11.76, allocations: 434.4 kB / 4.779 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008499/11.76, allocations: 0.7294 MB / 4.779 GB, free: 101.8 MB / 0.9948 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.007295/11.77, allocations: 2.167 MB / 4.781 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/11.77, allocations: 4.328 kB / 4.781 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004836/11.77, allocations: 1.674 MB / 4.783 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008557/11.78, allocations: 3.011 MB / 4.786 GB, free: 97.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/11.78, allocations: 16.59 kB / 4.786 GB, free: 97.63 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/11.78, allocations: 165.3 kB / 4.786 GB, free: 97.58 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/11.78, allocations: 240.8 kB / 4.786 GB, free: 97.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009692/11.78, allocations: 1.233 MB / 4.788 GB, free: 96.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/11.78, allocations: 128.1 kB / 4.788 GB, free: 96.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/11.78, allocations: 59.52 kB / 4.788 GB, free: 96.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/11.78, allocations: 6.75 kB / 4.788 GB, free: 96.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003873/11.79, allocations: 1.451 MB / 4.789 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/11.79, allocations: 17.72 kB / 4.789 GB, free: 95.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005592/11.79, allocations: 158.3 kB / 4.789 GB, free: 95.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/11.79, allocations: 242.3 kB / 4.79 GB, free: 95.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009368/11.79, allocations: 1.235 MB / 4.791 GB, free: 94.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/11.79, allocations: 112.3 kB / 4.791 GB, free: 94.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/11.79, allocations: 64.25 kB / 4.791 GB, free: 94.7 MB / 0.9948 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.0004166/11.79, allocations: 145.2 kB / 4.791 GB, free: 94.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/11.79, allocations: 195.7 kB / 4.791 GB, free: 94.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004939/11.8, allocations: 1.999 MB / 4.793 GB, free: 93.79 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/11.8, allocations: 17.84 kB / 4.793 GB, free: 93.79 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/11.8, allocations: 4 kB / 4.793 GB, free: 93.78 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003227/11.8, allocations: 1.554 MB / 4.795 GB, free: 93.08 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/11.81, allocations: 3.795 MB / 4.799 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/11.81, allocations: 11.77 kB / 4.799 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/11.81, allocations: 182.7 kB / 4.799 GB, free: 91.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/11.81, allocations: 151 kB / 4.799 GB, free: 91.31 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.63e-05/11.81, allocations: 28.31 kB / 4.799 GB, free: 91.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/11.81, allocations: 2.646 MB / 4.801 GB, free: 88.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/11.81, allocations: 9.812 kB / 4.801 GB, free: 88.83 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005548/11.82, allocations: 2.902 MB / 4.804 GB, free: 87.13 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008136/11.83, allocations: 4.291 MB / 4.809 GB, free: 84.31 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/11.83, allocations: 454 kB / 4.809 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/11.83, allocations: 11.91 kB / 4.809 GB, free: 83.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/11.83, allocations: 97.81 kB / 4.809 GB, free: 83.82 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/11.83, allocations: 93.53 kB / 4.809 GB, free: 83.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/11.83, allocations: 57.33 kB / 4.809 GB, free: 83.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001593/11.83, allocations: 0.987 MB / 4.81 GB, free: 82.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00703/11.84, allocations: 2.169 MB / 4.812 GB, free: 80.65 MB / 0.9948 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.005354/11.84, allocations: 3.715 MB / 4.816 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003533/11.85, allocations: 2.219 MB / 4.818 GB, free: 75.14 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/11.85, allocations: 0.5625 kB / 4.818 GB, free: 75.14 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/11.85, allocations: 0.9601 MB / 4.819 GB, free: 74.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/11.85, allocations: 0.8684 MB / 4.82 GB, free: 73.55 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/11.86, allocations: 3.807 MB / 4.824 GB, free: 70.08 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/11.87, allocations: 1.899 MB / 4.825 GB, free: 68.52 MB / 0.9948 GB Notification: Performance of SimCode: time 8.22e-07/11.87, allocations: 0 / 4.825 GB, free: 68.52 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)