Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") [: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 1.6.0+build.1/package.mo): time 0.5244/0.5244, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001383/0.001383, allocations: 173 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.239/1.239, allocations: 170.5 MB / 319 MB, free: 9.414 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00159/0.00159, allocations: 114.5 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.972e-06/6.012e-06, allocations: 0 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 61.51 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4501, allocations: 94.17 MB / 0.5901 GB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4503, allocations: 82.23 kB / 0.5902 GB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01049/0.4608, allocations: 3.203 MB / 0.5933 GB, free: 5.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.4608, allocations: 0 / 0.5933 GB, free: 5.008 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000354/0.4612, allocations: 362.3 kB / 0.5936 GB, free: 4.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4613, allocations: 12.03 kB / 0.5937 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.4613, allocations: 2.219 kB / 0.5937 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4615, allocations: 177.7 kB / 0.5938 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.4615, allocations: 1.062 kB / 0.5938 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4615, allocations: 5.344 kB / 0.5938 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.786e-05/0.4616, allocations: 11.91 kB / 0.5938 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.4617, allocations: 49.25 kB / 0.5939 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4617, allocations: 0.6562 kB / 0.5939 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.4618, allocations: 0.9062 kB / 0.5939 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4618, allocations: 0 / 0.5939 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.4621, allocations: 246.3 kB / 0.5941 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.4623, allocations: 39.62 kB / 0.5942 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.4624, allocations: 17.77 kB / 0.5942 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.4628, allocations: 199.6 kB / 0.5944 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4628, allocations: 34.56 kB / 0.5944 GB, free: 3.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.4628, allocations: 0 / 0.5944 GB, free: 3.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004311/0.4632, allocations: 83.45 kB / 0.5945 GB, free: 3.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4633, allocations: 59.34 kB / 0.5945 GB, free: 3.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.4634, allocations: 98.48 kB / 0.5946 GB, free: 3.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4634, allocations: 25.7 kB / 0.5947 GB, free: 3.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.4635, allocations: 91.98 kB / 0.5947 GB, free: 3.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.4635, allocations: 11.81 kB / 0.5948 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4635, allocations: 0 / 0.5948 GB, free: 3.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4636, allocations: 318.8 kB / 0.5951 GB, free: 2.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.4637, allocations: 8 kB / 0.5951 GB, free: 2.977 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.4637, allocations: 26.58 kB / 0.5951 GB, free: 2.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.4642, allocations: 67.91 kB / 0.5952 GB, free: 2.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4642, allocations: 3.094 kB / 0.5952 GB, free: 2.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000532/0.4647, allocations: 138.3 kB / 0.5953 GB, free: 2.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4647, allocations: 4 kB / 0.5953 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4647, allocations: 4 kB / 0.5953 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.4649, allocations: 21.92 kB / 0.5953 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-05/0.4649, allocations: 8 kB / 0.5953 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000839/0.4658, allocations: 0.6069 MB / 0.5959 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.4658, allocations: 6.375 kB / 0.5959 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4659, allocations: 4 kB / 0.5959 GB, free: 2.051 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dp1:VARIABLE(unit = "Pa" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.466, allocations: 105.9 kB / 0.596 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.466, allocations: 11.94 kB / 0.596 GB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.4666, allocations: 135.7 kB / 0.5962 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4666, allocations: 4 kB / 0.5962 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4666, allocations: 0 / 0.5962 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4666, allocations: 0 / 0.5962 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.4668, allocations: 150.1 kB / 0.5963 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4668, allocations: 0 / 0.5963 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.4668, allocations: 13.94 kB / 0.5963 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.4669, allocations: 24.78 kB / 0.5964 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.4669, allocations: 0 / 0.5964 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007537/0.4677, allocations: 0.6075 MB / 0.597 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4677, allocations: 4 kB / 0.597 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005308/0.4682, allocations: 216.9 kB / 0.5972 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.4683, allocations: 81.05 kB / 0.5972 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.4683, allocations: 3.969 kB / 0.5972 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.4684, allocations: 8 kB / 0.5973 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.4684, allocations: 0 / 0.5973 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4684, allocations: 2.484 kB / 0.5973 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.856e-05/0.4685, allocations: 89.45 kB / 0.5973 GB, free: 0.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.4688, allocations: 47.94 kB / 0.5974 GB, free: 464 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000241/0.4691, allocations: 143.1 kB / 0.5975 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.4693, allocations: 36.11 kB / 0.5976 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4693, allocations: 0 / 0.5976 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.4694, allocations: 24.59 kB / 0.5976 GB, free: 252 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.4696, allocations: 3.984 kB / 0.5976 GB, free: 248 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.4698, allocations: 70.41 kB / 0.5976 GB, free: 156 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.4701, allocations: 0.6915 MB / 0.5983 GB, free: 15.44 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4701, allocations: 2.438 kB / 0.5983 GB, free: 15.44 MB / 426.7 MB Notification: Performance of Templates: time 0.003588/0.4737, allocations: 1.235 MB / 0.5995 GB, free: 14.24 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe 2>&1)