Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") [: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.0.1-maint.8.0.x/package.mo): time 1.527/1.527, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001476/0.001476, allocations: 175.5 kB / 361.1 MB, free: 7.086 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.344/1.344, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008968/0.0008967, allocations: 87.41 kB / 0.7325 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.694e-06, allocations: 0 / 0.8511 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 115.3 MB / 0.9637 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.606/4.832, allocations: 2.117 GB / 3.081 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/4.833, allocations: 89.28 kB / 3.081 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 15.63/20.47, allocations: 4.329 GB / 7.41 GB, free: 93.23 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001322/20.47, allocations: 152.9 kB / 7.41 GB, free: 93.2 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: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.02337/20.49, allocations: 5.736 MB / 7.415 GB, free: 91.04 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/20.49, allocations: 7.312 kB / 7.415 GB, free: 91.04 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/20.5, allocations: 1.538 MB / 7.417 GB, free: 90.68 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03269/20.54, allocations: 11.11 MB / 7.428 GB, free: 89.54 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/20.54, allocations: 93.88 kB / 7.428 GB, free: 89.54 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/20.54, allocations: 212.3 kB / 7.428 GB, free: 89.54 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00954/20.55, allocations: 3.492 MB / 7.432 GB, free: 89.52 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/20.56, allocations: 3.659 MB / 7.435 GB, free: 89.14 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.872e-05/20.56, allocations: 10.81 kB / 7.435 GB, free: 89.14 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/20.56, allocations: 6.781 kB / 7.435 GB, free: 89.14 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/20.56, allocations: 101.7 kB / 7.435 GB, free: 89.13 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/20.59, allocations: 19.84 MB / 7.455 GB, free: 80.93 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003894/20.59, allocations: 3.117 MB / 7.458 GB, free: 80.88 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/20.6, allocations: 1.799 MB / 7.459 GB, free: 80.86 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/20.6, allocations: 0.555 MB / 7.46 GB, free: 80.3 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002367/20.6, allocations: 1.73 MB / 7.462 GB, free: 80.22 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 4.017e-06/20.6, allocations: 0 / 7.462 GB, free: 80.22 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.01004/20.61, allocations: 3.816 MB / 7.465 GB, free: 79.84 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/20.61, allocations: 148.2 kB / 7.465 GB, free: 79.68 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/20.62, allocations: 5.84 MB / 7.471 GB, free: 79.3 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/20.62, allocations: 31.83 kB / 7.471 GB, free: 79.27 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/20.63, allocations: 1.444 MB / 7.473 GB, free: 78.63 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/20.63, allocations: 0.5995 MB / 7.473 GB, free: 78.23 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/20.63, allocations: 0 / 7.473 GB, free: 78.23 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001801/20.63, allocations: 425 kB / 7.474 GB, free: 77.92 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/20.63, allocations: 1.513 MB / 7.475 GB, free: 77.91 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/20.63, allocations: 2.747 MB / 7.478 GB, free: 76.4 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/20.64, allocations: 1.945 MB / 7.48 GB, free: 76.36 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/20.64, allocations: 13.25 kB / 7.48 GB, free: 76.36 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.009346/20.65, allocations: 4.817 MB / 7.484 GB, free: 75.99 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003249/20.65, allocations: 14.89 MB / 7.499 GB, free: 60.78 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.384e-05/20.65, allocations: 35.62 kB / 7.499 GB, free: 60.78 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/20.65, allocations: 445.6 kB / 7.499 GB, free: 60.77 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/20.65, allocations: 0.6547 MB / 7.5 GB, free: 60.77 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/20.66, allocations: 4.578 MB / 7.505 GB, free: 57.96 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/20.66, allocations: 441.6 kB / 7.505 GB, free: 57.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007027/20.66, allocations: 263.4 kB / 7.505 GB, free: 57.8 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/20.66, allocations: 3.75 kB / 7.505 GB, free: 57.8 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007457/20.67, allocations: 3.769 MB / 7.509 GB, free: 57.73 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.994e-05/20.67, allocations: 30.91 kB / 7.509 GB, free: 57.73 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/20.67, allocations: 0.5466 MB / 7.509 GB, free: 57.71 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/20.68, allocations: 0.6564 MB / 7.51 GB, free: 57.71 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/20.69, allocations: 7.179 MB / 7.517 GB, free: 54.74 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007176/20.7, allocations: 376.2 kB / 7.517 GB, free: 54.63 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/20.7, allocations: 227.8 kB / 7.518 GB, free: 54.63 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (325): * Single equations (assignments): 313 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * 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.001725/20.7, allocations: 204.7 kB / 7.518 GB, free: 54.5 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/20.7, allocations: 0.5053 MB / 7.518 GB, free: 54.22 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008782/20.71, allocations: 3.031 MB / 7.521 GB, free: 54.05 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/20.71, allocations: 16.75 kB / 7.521 GB, free: 54.05 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/20.71, allocations: 3.906 kB / 7.521 GB, free: 54.04 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004053/20.71, allocations: 2.521 MB / 7.524 GB, free: 53.52 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/20.73, allocations: 7.636 MB / 7.531 GB, free: 52.97 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/20.73, allocations: 2.75 kB / 7.531 GB, free: 52.97 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/20.74, allocations: 497.5 kB / 7.532 GB, free: 52.97 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/20.74, allocations: 187.1 kB / 7.532 GB, free: 52.95 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/20.74, allocations: 33.61 kB / 7.532 GB, free: 52.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/20.74, allocations: 3.397 MB / 7.535 GB, free: 50.15 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/20.74, allocations: 0 / 7.535 GB, free: 50.15 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007873/20.75, allocations: 4.597 MB / 7.54 GB, free: 49.17 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004103/20.75, allocations: 1.155 MB / 7.541 GB, free: 48.78 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002345/20.75, allocations: 11.95 kB / 7.541 GB, free: 48.78 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006023/20.76, allocations: 237.6 kB / 7.541 GB, free: 48.75 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003929/20.76, allocations: 118.2 kB / 7.541 GB, free: 48.75 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003457/20.76, allocations: 91.39 kB / 7.541 GB, free: 48.75 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.01216/20.77, allocations: 4.366 MB / 7.546 GB, free: 48.54 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01589/20.79, allocations: 3.146 MB / 7.549 GB, free: 48.19 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (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],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * 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 (178): * Single equations (assignments): 171 * 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.01607/20.81, allocations: 11.37 MB / 7.56 GB, free: 42.35 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01318/20.82, allocations: 5.971 MB / 7.566 GB, free: 41.91 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/20.82, allocations: 8.953 kB / 7.566 GB, free: 41.91 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.00264/20.82, allocations: 1.194 MB / 7.567 GB, free: 41.9 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/20.84, allocations: 2.792 MB / 7.569 GB, free: 41.87 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/20.87, allocations: 8.429 MB / 7.578 GB, free: 40.07 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005501/20.87, allocations: 3.876 MB / 7.582 GB, free: 39.26 MB / 1.104 GB Notification: Performance of SimCode: time 9.72e-07/20.87, allocations: 4.219 kB / 7.582 GB, free: 39.26 MB / 1.104 GB Notification: Performance of Templates: time 0.286/21.16, allocations: 170.9 MB / 7.748 GB, free: 11.48 MB / 1.135 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)