Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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.688/1.688, allocations: 289.8 MB / 297 MB, free: 6.688 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.001146/0.001146, allocations: 185.3 kB / 366.3 MB, free: 1.988 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.744/1.744, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.001003/0.001002, allocations: 86.52 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3343/0.3354, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/1.174, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/2.269, allocations: 440.2 MB / 1.403 GB, free: 49.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004052/2.269, allocations: 104.1 kB / 1.403 GB, free: 49.08 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 1.546/3.815, allocations: 468.7 MB / 1.86 GB, free: 76.37 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/3.815, allocations: 8 kB / 1.86 GB, free: 76.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/3.815, allocations: 134.4 kB / 1.86 GB, free: 76.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02153/3.837, allocations: 9.195 MB / 1.869 GB, free: 67.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/3.837, allocations: 24 kB / 1.869 GB, free: 67.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/3.837, allocations: 43.91 kB / 1.87 GB, free: 66.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009088/3.838, allocations: 459.2 kB / 1.87 GB, free: 66.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009039/3.839, allocations: 0.6413 MB / 1.871 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/3.839, allocations: 0 / 1.871 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/3.839, allocations: 0 / 1.871 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/3.839, allocations: 20 kB / 1.871 GB, free: 65.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00431/3.843, allocations: 4.349 MB / 1.875 GB, free: 61.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/3.844, allocations: 251.4 kB / 1.875 GB, free: 60.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/3.844, allocations: 184.8 kB / 1.875 GB, free: 60.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009932/3.845, allocations: 1.515 MB / 1.877 GB, free: 58.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/3.845, allocations: 46.47 kB / 1.877 GB, free: 58.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.076e-06/3.845, allocations: 0 / 1.877 GB, free: 58.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002086/3.847, allocations: 0.6496 MB / 1.877 GB, free: 58.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/3.847, allocations: 59.41 kB / 1.877 GB, free: 58.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/3.848, allocations: 0.6494 MB / 1.878 GB, free: 57.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/3.848, allocations: 29.7 kB / 1.878 GB, free: 57.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/3.848, allocations: 343.5 kB / 1.878 GB, free: 57.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/3.848, allocations: 141.9 kB / 1.879 GB, free: 56.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/3.848, allocations: 0 / 1.879 GB, free: 56.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/3.848, allocations: 325.9 kB / 1.879 GB, free: 56.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/3.849, allocations: 157.1 kB / 1.879 GB, free: 56.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/3.849, allocations: 303.8 kB / 1.879 GB, free: 56.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/3.85, allocations: 328.4 kB / 1.88 GB, free: 55.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/3.85, allocations: 4 kB / 1.88 GB, free: 55.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00197/3.852, allocations: 0.7364 MB / 1.88 GB, free: 55.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/3.852, allocations: 1.49 MB / 1.882 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/3.852, allocations: 11.94 kB / 1.882 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/3.853, allocations: 84.8 kB / 1.882 GB, free: 53.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/3.853, allocations: 95.89 kB / 1.882 GB, free: 53.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004427/3.853, allocations: 0.6186 MB / 1.883 GB, free: 52.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/3.854, allocations: 75.59 kB / 1.883 GB, free: 52.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/3.854, allocations: 35.98 kB / 1.883 GB, free: 52.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/3.854, allocations: 4 kB / 1.883 GB, free: 52.46 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001782/3.856, allocations: 0.6337 MB / 1.883 GB, free: 51.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/3.856, allocations: 8.5 kB / 1.883 GB, free: 51.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/3.856, allocations: 80.8 kB / 1.883 GB, free: 51.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/3.857, allocations: 107.8 kB / 1.884 GB, free: 51.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000374/3.857, allocations: 0.6186 MB / 1.884 GB, free: 50.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/3.858, allocations: 71.59 kB / 1.884 GB, free: 50.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/3.858, allocations: 31.98 kB / 1.884 GB, free: 50.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001452/3.858, allocations: 116.9 kB / 1.884 GB, free: 50.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/3.858, allocations: 90.81 kB / 1.884 GB, free: 50.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/3.86, allocations: 1.113 MB / 1.886 GB, free: 49.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/3.86, allocations: 4 kB / 1.886 GB, free: 49.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/3.861, allocations: 7.984 kB / 1.886 GB, free: 49.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/3.862, allocations: 0.9254 MB / 1.886 GB, free: 48.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/3.865, allocations: 1.765 MB / 1.888 GB, free: 46.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/3.865, allocations: 8 kB / 1.888 GB, free: 46.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/3.866, allocations: 75.89 kB / 1.888 GB, free: 46.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/3.866, allocations: 44.84 kB / 1.888 GB, free: 46.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/3.866, allocations: 27.92 kB / 1.888 GB, free: 46.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003754/3.866, allocations: 0.6108 MB / 1.889 GB, free: 45.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/3.866, allocations: 3.984 kB / 1.889 GB, free: 45.94 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002205/3.869, allocations: 1.27 MB / 1.89 GB, free: 44.62 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002933/3.871, allocations: 2.052 MB / 1.892 GB, free: 42.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/3.872, allocations: 259.7 kB / 1.892 GB, free: 42.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/3.872, allocations: 4 kB / 1.892 GB, free: 42.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/3.873, allocations: 59.78 kB / 1.892 GB, free: 42.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/3.873, allocations: 32.45 kB / 1.893 GB, free: 42.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/3.873, allocations: 27.98 kB / 1.893 GB, free: 42.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007503/3.874, allocations: 0.4991 MB / 1.893 GB, free: 41.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003584/3.877, allocations: 0.8225 MB / 1.894 GB, free: 40.81 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/3.879, allocations: 0.7291 MB / 1.895 GB, free: 40.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001554/3.88, allocations: 0.8924 MB / 1.895 GB, free: 39.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/3.88, allocations: 0 / 1.895 GB, free: 39.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/3.881, allocations: 377.3 kB / 1.896 GB, free: 38.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/3.883, allocations: 389.6 kB / 1.896 GB, free: 38.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/3.886, allocations: 1.368 MB / 1.897 GB, free: 37.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/3.886, allocations: 1.18 MB / 1.899 GB, free: 35.84 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/3.886, allocations: 0 / 1.899 GB, free: 35.84 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)