Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.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.Movers.Examples.FlowMachineFeedbackControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl") translateModel(Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl") [: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.4974/0.4974, allocations: 94.74 MB / 102 MB, free: 10.37 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.001196/0.001196, allocations: 182.5 kB / 125.3 MB, free: 12.01 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.327/1.327, allocations: 170.5 MB / 319 MB, free: 9.367 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.001714/0.001714, allocations: 115.5 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.766e-06/9.057e-06, allocations: 224 / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1554, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.35/11.5, allocations: 5.333 GB / 5.831 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/11.5, allocations: 89.23 kB / 5.831 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.969/13.47, allocations: 0.6133 GB / 6.444 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000188/13.47, allocations: 40.3 kB / 6.444 GB, free: 57.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.005647/13.48, allocations: 1.959 MB / 6.446 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/13.48, allocations: 14.03 kB / 6.446 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/13.48, allocations: 192.1 kB / 6.446 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005972/13.49, allocations: 1.791 MB / 6.448 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/13.49, allocations: 87.2 kB / 6.448 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006829/13.49, allocations: 79.44 kB / 6.448 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002928/13.49, allocations: 1.493 MB / 6.45 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/13.49, allocations: 1.296 MB / 6.451 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/13.49, allocations: 1.5 kB / 6.451 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/13.49, allocations: 0 / 6.451 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/13.49, allocations: 37.86 kB / 6.451 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009604/13.5, allocations: 4.808 MB / 6.456 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/13.5, allocations: 0.7899 MB / 6.456 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/13.5, allocations: 0.6286 MB / 6.457 GB, free: 55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/13.51, allocations: 288.9 kB / 6.457 GB, free: 54.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/13.51, allocations: 0.7739 MB / 6.458 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.867e-06/13.51, allocations: 3.719 kB / 6.458 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01214/13.52, allocations: 3.977 MB / 6.462 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/13.52, allocations: 324 kB / 6.462 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/13.52, allocations: 0.9455 MB / 6.463 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004167/13.52, allocations: 37.05 kB / 6.463 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/13.52, allocations: 443.9 kB / 6.464 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/13.52, allocations: 250.6 kB / 6.464 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/13.52, allocations: 14.22 kB / 6.464 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/13.52, allocations: 351.4 kB / 6.464 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/13.52, allocations: 1.244 MB / 6.465 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/13.53, allocations: 1.453 MB / 6.467 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/13.53, allocations: 1.511 MB / 6.468 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/13.53, allocations: 3.156 kB / 6.468 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.007154/13.54, allocations: 3.633 MB / 6.472 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/13.54, allocations: 0.7087 MB / 6.473 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/13.54, allocations: 5.359 kB / 6.473 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/13.54, allocations: 1.174 MB / 6.474 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/13.54, allocations: 232.1 kB / 6.474 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/13.54, allocations: 2.473 MB / 6.476 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/13.55, allocations: 141.3 kB / 6.476 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006757/13.55, allocations: 139.3 kB / 6.477 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/13.55, allocations: 3.875 kB / 6.477 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00904/13.56, allocations: 3.528 MB / 6.48 GB, free: 50.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/13.56, allocations: 3.406 kB / 6.48 GB, free: 50.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/13.56, allocations: 1.366 MB / 6.481 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/13.56, allocations: 208 kB / 6.482 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/13.58, allocations: 8.344 MB / 6.49 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/13.58, allocations: 133.1 kB / 6.49 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000669/13.58, allocations: 132.2 kB / 6.49 GB, free: 47.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan.curve,fan.haveMinimumDecrease,fan.haveDPMax,fan.haveVMax) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008355/13.58, allocations: 144.8 kB / 6.49 GB, free: 47.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/13.58, allocations: 119.2 kB / 6.49 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/13.59, allocations: 1.369 MB / 6.492 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/13.59, allocations: 10.34 kB / 6.492 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/13.59, allocations: 0 / 6.492 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/13.59, allocations: 11.09 kB / 6.492 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/13.59, allocations: 2.541 MB / 6.494 GB, free: 47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/13.59, allocations: 0 / 6.494 GB, free: 47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/13.6, allocations: 193.5 kB / 6.494 GB, free: 47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/13.6, allocations: 361.8 kB / 6.495 GB, free: 47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/13.6, allocations: 17.84 kB / 6.495 GB, free: 47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/13.6, allocations: 1.542 MB / 6.496 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/13.6, allocations: 1.406 kB / 6.496 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003666/13.6, allocations: 1.876 MB / 6.498 GB, free: 45.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/13.6, allocations: 331.7 kB / 6.498 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004268/13.6, allocations: 7.719 kB / 6.498 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/13.6, allocations: 72.52 kB / 6.498 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/13.6, allocations: 56 kB / 6.498 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/13.6, allocations: 41.78 kB / 6.498 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001309/13.6, allocations: 0.6877 MB / 6.499 GB, free: 45.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005243/13.61, allocations: 1.126 MB / 6.5 GB, free: 45.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (fan.vol.dynBal.medium.p,fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.medium.T,fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004401/13.61, allocations: 1.928 MB / 6.502 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009302/13.62, allocations: 8.402 MB / 6.51 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/13.62, allocations: 3.469 kB / 6.51 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/13.63, allocations: 0.5059 MB / 6.511 GB, free: 40 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/13.63, allocations: 494.4 kB / 6.511 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/13.63, allocations: 2.088 MB / 6.513 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/13.64, allocations: 1.386 MB / 6.515 GB, free: 38.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/13.64, allocations: 0 / 6.515 GB, free: 38.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.08621/13.72, allocations: 51.99 MB / 6.565 GB, free: 6.547 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe 2>&1)