Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.625/1.625, allocations: 289.8 MB / 297 MB, free: 6.676 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.001238/0.001238, allocations: 181.2 kB / 366.3 MB, free: 1.977 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.781/1.781, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.001097/0.001098, allocations: 99.52 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3183/0.3195, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/1.119, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/2.155, allocations: 440.9 MB / 1.403 GB, free: 49.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/2.155, allocations: 96.41 kB / 1.403 GB, free: 49.48 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 1.541/3.696, allocations: 469 MB / 1.861 GB, free: 94.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/3.696, allocations: 11.98 kB / 1.861 GB, free: 94.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/3.697, allocations: 130.5 kB / 1.861 GB, free: 94.15 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02415/3.722, allocations: 9.183 MB / 1.87 GB, free: 85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/3.722, allocations: 27.91 kB / 1.87 GB, free: 84.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/3.722, allocations: 44 kB / 1.87 GB, free: 84.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001039/3.723, allocations: 491.9 kB / 1.871 GB, free: 84.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/3.724, allocations: 0.6445 MB / 1.872 GB, free: 83.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/3.724, allocations: 0 / 1.872 GB, free: 83.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/3.724, allocations: 0 / 1.872 GB, free: 83.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/3.724, allocations: 16 kB / 1.872 GB, free: 83.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004879/3.729, allocations: 3.935 MB / 1.875 GB, free: 79.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/3.729, allocations: 287.2 kB / 1.876 GB, free: 79.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/3.73, allocations: 196.3 kB / 1.876 GB, free: 79.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009938/3.731, allocations: 1.515 MB / 1.877 GB, free: 77.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/3.731, allocations: 42.5 kB / 1.877 GB, free: 77.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 2.876e-06/3.731, allocations: 0 / 1.877 GB, free: 77.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.001747/3.732, allocations: 0.5826 MB / 1.878 GB, free: 76.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/3.732, allocations: 55.41 kB / 1.878 GB, free: 76.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/3.733, allocations: 0.6651 MB / 1.879 GB, free: 75.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/3.733, allocations: 29.64 kB / 1.879 GB, free: 75.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/3.733, allocations: 347.4 kB / 1.879 GB, free: 75.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/3.734, allocations: 157.7 kB / 1.879 GB, free: 75.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/3.734, allocations: 0 / 1.879 GB, free: 75.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.276e-05/3.734, allocations: 333.9 kB / 1.879 GB, free: 74.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/3.734, allocations: 161.3 kB / 1.88 GB, free: 74.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/3.734, allocations: 288.2 kB / 1.88 GB, free: 74.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/3.735, allocations: 361 kB / 1.88 GB, free: 74.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/3.735, allocations: 4 kB / 1.88 GB, free: 74.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001677/3.737, allocations: 0.706 MB / 1.881 GB, free: 73.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/3.737, allocations: 1.135 MB / 1.882 GB, free: 72.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/3.737, allocations: 4 kB / 1.882 GB, free: 72.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/3.737, allocations: 8 kB / 1.882 GB, free: 72.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/3.738, allocations: 131.8 kB / 1.882 GB, free: 72.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/3.738, allocations: 4 kB / 1.882 GB, free: 72.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/3.739, allocations: 75.39 kB / 1.882 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/3.739, allocations: 31.98 kB / 1.882 GB, free: 71.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/3.739, allocations: 4.625 kB / 1.882 GB, free: 71.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001563/3.74, allocations: 0.5919 MB / 1.883 GB, free: 71.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/3.74, allocations: 4 kB / 1.883 GB, free: 71.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/3.74, allocations: 4 kB / 1.883 GB, free: 71.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/3.741, allocations: 128.2 kB / 1.883 GB, free: 71.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/3.741, allocations: 12 kB / 1.883 GB, free: 71.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/3.741, allocations: 63.5 kB / 1.883 GB, free: 71.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/3.742, allocations: 31.98 kB / 1.883 GB, free: 71.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/3.742, allocations: 116.8 kB / 1.883 GB, free: 71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/3.742, allocations: 90.88 kB / 1.883 GB, free: 70.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/3.744, allocations: 1.062 MB / 1.884 GB, free: 69.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/3.744, allocations: 11.94 kB / 1.884 GB, free: 69.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/3.744, allocations: 0 / 1.884 GB, free: 69.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/3.745, allocations: 0.879 MB / 1.885 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/3.749, allocations: 1.859 MB / 1.887 GB, free: 66.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/3.749, allocations: 8 kB / 1.887 GB, free: 66.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/3.749, allocations: 99.88 kB / 1.887 GB, free: 66.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/3.749, allocations: 7.938 kB / 1.887 GB, free: 66.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/3.749, allocations: 16.17 kB / 1.887 GB, free: 66.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/3.749, allocations: 4 kB / 1.887 GB, free: 66.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/3.749, allocations: 0 / 1.887 GB, free: 66.82 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001899/3.751, allocations: 1.267 MB / 1.888 GB, free: 65.48 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002403/3.754, allocations: 2.035 MB / 1.89 GB, free: 63.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/3.754, allocations: 271.7 kB / 1.891 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/3.754, allocations: 0 / 1.891 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/3.755, allocations: 39.81 kB / 1.891 GB, free: 63.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/3.755, allocations: 44.38 kB / 1.891 GB, free: 63.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/3.755, allocations: 31.97 kB / 1.891 GB, free: 62.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006497/3.755, allocations: 0.5109 MB / 1.891 GB, free: 62.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003418/3.759, allocations: 0.8336 MB / 1.892 GB, free: 61.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001254/3.76, allocations: 0.735 MB / 1.893 GB, free: 60.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001453/3.762, allocations: 0.8947 MB / 1.894 GB, free: 60.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/3.762, allocations: 0 / 1.894 GB, free: 60.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/3.762, allocations: 377.2 kB / 1.894 GB, free: 59.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/3.764, allocations: 373.6 kB / 1.894 GB, free: 59.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/3.767, allocations: 1.525 MB / 1.896 GB, free: 57.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/3.768, allocations: 1.191 MB / 1.897 GB, free: 56.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/3.768, allocations: 3.938 kB / 1.897 GB, free: 56.47 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)