Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") [: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.528/1.528, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001219/0.001219, allocations: 173.3 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.563/1.563, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009843/0.0009841, allocations: 88.41 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/9.198e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.696, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.704/5.4, allocations: 2.118 GB / 3.09 GB, free: 338.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/5.401, allocations: 89.3 kB / 3.091 GB, free: 338.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 16.22/21.62, allocations: 4.375 GB / 7.466 GB, free: 79.49 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002037/21.63, allocations: 167.8 kB / 7.466 GB, free: 79.46 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.03083/21.66, allocations: 6.065 MB / 7.472 GB, free: 76.77 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/21.66, allocations: 7.625 kB / 7.472 GB, free: 76.77 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/21.67, allocations: 1.781 MB / 7.474 GB, free: 76.38 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03658/21.71, allocations: 11.47 MB / 7.485 GB, free: 75.2 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/21.71, allocations: 102.2 kB / 7.485 GB, free: 75.2 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003161/21.71, allocations: 233.6 kB / 7.485 GB, free: 75.2 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0129/21.73, allocations: 3.747 MB / 7.489 GB, free: 75.18 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/21.74, allocations: 4.012 MB / 7.493 GB, free: 74.73 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/21.74, allocations: 3.312 kB / 7.493 GB, free: 74.73 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/21.74, allocations: 3.375 kB / 7.493 GB, free: 74.73 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/21.74, allocations: 119.1 kB / 7.493 GB, free: 74.73 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/21.79, allocations: 20.62 MB / 7.513 GB, free: 66.77 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/21.8, allocations: 3.474 MB / 7.516 GB, free: 66.71 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003492/21.8, allocations: 1.924 MB / 7.518 GB, free: 66.68 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007629/21.8, allocations: 0.5558 MB / 7.519 GB, free: 66.12 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003829/21.81, allocations: 1.886 MB / 7.521 GB, free: 66.04 MB / 1.104 GB Notification: Performance of pre-optimization done (n=207): time 7.094e-06/21.81, allocations: 0 / 7.521 GB, free: 66.04 MB / 1.104 GB Notification: Performance of matching and sorting (n=207): time 0.01343/21.82, allocations: 4.111 MB / 7.525 GB, free: 65.64 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/21.82, allocations: 335.3 kB / 7.525 GB, free: 65.27 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01742/21.84, allocations: 6.03 MB / 7.531 GB, free: 64.88 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/21.84, allocations: 33.05 kB / 7.531 GB, free: 64.84 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.002721/21.84, allocations: 1.528 MB / 7.532 GB, free: 64.16 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/21.84, allocations: 0.6944 MB / 7.533 GB, free: 63.7 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005557/21.84, allocations: 3.391 kB / 7.533 GB, free: 63.7 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003159/21.84, allocations: 440.2 kB / 7.534 GB, free: 63.39 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/21.85, allocations: 1.665 MB / 7.535 GB, free: 63.38 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/21.85, allocations: 2.946 MB / 7.538 GB, free: 61.84 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/21.85, allocations: 2.122 MB / 7.54 GB, free: 61.79 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/21.85, allocations: 9.938 kB / 7.54 GB, free: 61.79 MB / 1.104 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01101/21.87, allocations: 5.247 MB / 7.545 GB, free: 61.36 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003499/21.87, allocations: 14.66 MB / 7.56 GB, free: 46.07 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/21.87, allocations: 39.25 kB / 7.56 GB, free: 46.07 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/21.87, allocations: 451.1 kB / 7.56 GB, free: 46.05 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00493/21.88, allocations: 0.7491 MB / 7.561 GB, free: 46.05 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/21.88, allocations: 4.581 MB / 7.565 GB, free: 43.25 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007891/21.89, allocations: 471.4 kB / 7.566 GB, free: 43.07 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/21.89, allocations: 276.4 kB / 7.566 GB, free: 43.07 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/21.89, allocations: 6.375 kB / 7.566 GB, free: 43.07 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009265/21.9, allocations: 4.084 MB / 7.57 GB, free: 42.97 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/21.9, allocations: 36.72 kB / 7.57 GB, free: 42.97 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/21.9, allocations: 0.5505 MB / 7.57 GB, free: 42.95 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/21.9, allocations: 0.7256 MB / 7.571 GB, free: 42.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/21.92, allocations: 7.182 MB / 7.578 GB, free: 39.96 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008108/21.93, allocations: 391.6 kB / 7.579 GB, free: 39.83 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/21.93, allocations: 243.1 kB / 7.579 GB, free: 39.83 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (361): * Single equations (assignments): 343 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002281/21.93, allocations: 203.8 kB / 7.579 GB, free: 39.71 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/21.93, allocations: 0.541 MB / 7.58 GB, free: 39.41 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/21.94, allocations: 3.366 MB / 7.583 GB, free: 39.21 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/21.94, allocations: 22.03 kB / 7.583 GB, free: 39.21 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/21.94, allocations: 0 / 7.583 GB, free: 39.21 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005293/21.95, allocations: 2.783 MB / 7.586 GB, free: 38.7 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/21.98, allocations: 8.283 MB / 7.594 GB, free: 38.12 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/21.98, allocations: 7.719 kB / 7.594 GB, free: 38.12 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/21.98, allocations: 0.5547 MB / 7.594 GB, free: 38.12 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/21.98, allocations: 170.6 kB / 7.594 GB, free: 38.11 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005214/21.98, allocations: 45.45 kB / 7.594 GB, free: 38.11 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/21.98, allocations: 3.401 MB / 7.598 GB, free: 35.3 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/21.98, allocations: 2.688 kB / 7.598 GB, free: 35.3 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01067/21.99, allocations: 5.101 MB / 7.603 GB, free: 34.29 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005733/22, allocations: 1.23 MB / 7.604 GB, free: 33.88 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003097/22, allocations: 17.97 kB / 7.604 GB, free: 33.88 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006359/22.01, allocations: 245 kB / 7.604 GB, free: 33.86 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/22.01, allocations: 125 kB / 7.604 GB, free: 33.86 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004404/22.01, allocations: 113.2 kB / 7.604 GB, free: 33.85 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.01314/22.02, allocations: 4.495 MB / 7.609 GB, free: 33.64 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02012/22.04, allocations: 3.276 MB / 7.612 GB, free: 33.26 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * 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 (207): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01937/22.06, allocations: 11.39 MB / 7.623 GB, free: 27.31 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01851/22.08, allocations: 6.697 MB / 7.63 GB, free: 25.85 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/22.08, allocations: 2.906 kB / 7.63 GB, free: 25.85 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004135/22.09, allocations: 1.358 MB / 7.631 GB, free: 25.44 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01876/22.1, allocations: 2.889 MB / 7.634 GB, free: 24.87 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/22.14, allocations: 9.129 MB / 7.643 GB, free: 21.7 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01017/22.15, allocations: 4.097 MB / 7.647 GB, free: 20.48 MB / 1.104 GB Notification: Performance of SimCode: time 2.275e-06/22.15, allocations: 0 / 7.647 GB, free: 20.48 MB / 1.104 GB Notification: Performance of Templates: time 1.151/23.3, allocations: 177.6 MB / 7.82 GB, free: 183.6 MB / 1.135 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)