Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.494/2.494, allocations: 284.8 MB / 292.1 MB, free: 9.875 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.001773/0.001773, allocations: 174.5 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.1 MB / 0.6187 GB, free: 3.301 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 92.95 kB / 0.7317 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6148/0.6162, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.8691, allocations: 115.2 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.195/7.064, allocations: 2.365 GB / 3.327 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/7.065, allocations: 100.4 kB / 3.328 GB, free: 272.6 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 6.28/13.34, allocations: 1.405 GB / 4.733 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/13.34, allocations: 12.44 kB / 4.733 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00687/13.35, allocations: 0.6639 MB / 4.733 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04523/13.4, allocations: 11.04 MB / 4.744 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/13.4, allocations: 52 kB / 4.744 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/13.4, allocations: 107.9 kB / 4.744 GB, free: 6.73 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005884/13.4, allocations: 1.459 MB / 4.746 GB, free: 5.27 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/13.41, allocations: 1.727 MB / 4.747 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.826e-05/13.41, allocations: 7.906 kB / 4.747 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/13.41, allocations: 0 / 4.747 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/13.41, allocations: 67.17 kB / 4.747 GB, free: 3.398 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/13.44, allocations: 10.42 MB / 4.757 GB, free: 8.09 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/13.44, allocations: 0.6884 MB / 4.758 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/13.44, allocations: 0.548 MB / 4.759 GB, free: 6.852 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003149/13.44, allocations: 2.217 MB / 4.761 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/13.44, allocations: 51.28 kB / 4.761 GB, free: 4.094 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 3.397e-06/13.44, allocations: 0 / 4.761 GB, free: 4.094 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.02119/13.47, allocations: 3.521 MB / 4.764 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/13.47, allocations: 64.39 kB / 4.764 GB, free: 444 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5129/13.98, allocations: 1.304 MB / 4.766 GB, free: 172.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003998/13.98, allocations: 27.72 kB / 4.766 GB, free: 172.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007055/13.98, allocations: 0.7018 MB / 4.766 GB, free: 172.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007525/13.98, allocations: 367.1 kB / 4.767 GB, free: 172.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/13.98, allocations: 0 / 4.767 GB, free: 172.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001365/13.98, allocations: 351.5 kB / 4.767 GB, free: 172 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/13.98, allocations: 433.8 kB / 4.767 GB, free: 172 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/13.98, allocations: 0.7334 MB / 4.768 GB, free: 171.7 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.01368/14, allocations: 2.162 MB / 4.77 GB, free: 171.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/14, allocations: 3.844 kB / 4.77 GB, free: 171.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007617/14.01, allocations: 1.678 MB / 4.772 GB, free: 171.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007042/14.01, allocations: 3.006 MB / 4.775 GB, free: 168.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/14.01, allocations: 21.39 kB / 4.775 GB, free: 168.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/14.01, allocations: 154.9 kB / 4.775 GB, free: 168.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/14.01, allocations: 242.1 kB / 4.775 GB, free: 168.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/14.01, allocations: 1.235 MB / 4.776 GB, free: 167.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/14.02, allocations: 129.9 kB / 4.777 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006148/14.02, allocations: 60.52 kB / 4.777 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/14.02, allocations: 5.781 kB / 4.777 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007463/14.02, allocations: 1.457 MB / 4.778 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/14.02, allocations: 14.88 kB / 4.778 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/14.03, allocations: 161.8 kB / 4.778 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/14.03, allocations: 241.8 kB / 4.778 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/14.03, allocations: 1.232 MB / 4.78 GB, free: 166.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/14.03, allocations: 109.6 kB / 4.78 GB, free: 166.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/14.03, allocations: 69.56 kB / 4.78 GB, free: 166.1 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.0005081/14.03, allocations: 133.2 kB / 4.78 GB, free: 166 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/14.03, allocations: 198.6 kB / 4.78 GB, free: 165.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/14.04, allocations: 2.007 MB / 4.782 GB, free: 165.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/14.04, allocations: 15.97 kB / 4.782 GB, free: 165.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/14.04, allocations: 3.312 kB / 4.782 GB, free: 165.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005909/14.05, allocations: 1.568 MB / 4.784 GB, free: 165.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/14.06, allocations: 3.789 MB / 4.787 GB, free: 165 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.621e-05/14.06, allocations: 14.97 kB / 4.787 GB, free: 165 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/14.06, allocations: 181.1 kB / 4.788 GB, free: 165 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/14.07, allocations: 156.7 kB / 4.788 GB, free: 165 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/14.07, allocations: 25.08 kB / 4.788 GB, free: 165 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/14.07, allocations: 2.641 MB / 4.79 GB, free: 162.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/14.07, allocations: 9.719 kB / 4.79 GB, free: 162.7 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009657/14.08, allocations: 2.918 MB / 4.793 GB, free: 161.8 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01172/14.09, allocations: 4.277 MB / 4.797 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/14.09, allocations: 452.5 kB / 4.798 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009704/14.09, allocations: 20.83 kB / 4.798 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003366/14.1, allocations: 91.38 kB / 4.798 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000518/14.1, allocations: 86.92 kB / 4.798 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/14.1, allocations: 58.3 kB / 4.798 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002597/14.1, allocations: 0.9882 MB / 4.799 GB, free: 160.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01182/14.11, allocations: 2.174 MB / 4.801 GB, free: 160.1 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.007361/14.12, allocations: 3.719 MB / 4.805 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005751/14.12, allocations: 2.216 MB / 4.807 GB, free: 158.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/14.12, allocations: 2.906 kB / 4.807 GB, free: 158.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/14.13, allocations: 0.9589 MB / 4.808 GB, free: 158.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008493/14.14, allocations: 0.8647 MB / 4.809 GB, free: 158.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/14.16, allocations: 3.812 MB / 4.812 GB, free: 157.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003814/14.16, allocations: 1.88 MB / 4.814 GB, free: 156.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.583e-06/14.16, allocations: 0 / 4.814 GB, free: 156.4 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)