Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y") [: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.641/1.641, allocations: 285.5 MB / 292.8 MB, free: 9.816 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.001323/0.001323, allocations: 189.1 kB / 361.1 MB, free: 256 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 0.6195 GB, free: 2.852 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 99.02 kB / 0.7326 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.528e-06, allocations: 3 kB / 0.8511 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2453, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.495/4.74, allocations: 2.112 GB / 3.076 GB, free: 255.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/4.741, allocations: 88.7 kB / 3.076 GB, free: 255.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.179/9.919, allocations: 1.534 GB / 4.61 GB, free: 121 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003017/9.92, allocations: 66.23 kB / 4.61 GB, free: 121 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008758/9.928, allocations: 2.58 MB / 4.612 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/9.929, allocations: 8.094 kB / 4.612 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/9.935, allocations: 0.8988 MB / 4.613 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008658/9.944, allocations: 3.068 MB / 4.616 GB, free: 119 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/9.944, allocations: 43.88 kB / 4.616 GB, free: 119 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/9.945, allocations: 95.53 kB / 4.616 GB, free: 119 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002878/9.947, allocations: 1.341 MB / 4.618 GB, free: 119 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/9.95, allocations: 1.506 MB / 4.619 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/9.95, allocations: 0.875 kB / 4.619 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/9.95, allocations: 5.188 kB / 4.619 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-05/9.951, allocations: 55.41 kB / 4.619 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/9.964, allocations: 7.836 MB / 4.627 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/9.966, allocations: 0.9829 MB / 4.628 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/9.967, allocations: 0.6005 MB / 4.628 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/9.967, allocations: 287.1 kB / 4.629 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/9.967, allocations: 43.06 kB / 4.629 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 3.367e-06/9.967, allocations: 0 / 4.629 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.004951/9.972, allocations: 1.402 MB / 4.63 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/9.972, allocations: 60.38 kB / 4.63 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/9.975, allocations: 1.362 MB / 4.631 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/9.975, allocations: 29.7 kB / 4.631 GB, free: 114 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/9.976, allocations: 0.6273 MB / 4.632 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/9.976, allocations: 283.9 kB / 4.632 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/9.976, allocations: 2.875 kB / 4.632 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/9.976, allocations: 348.7 kB / 4.633 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/9.977, allocations: 423 kB / 4.633 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/9.978, allocations: 0.8457 MB / 4.634 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/9.979, allocations: 0.599 MB / 4.634 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/9.979, allocations: 3.188 kB / 4.634 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004549/9.984, allocations: 1.637 MB / 4.636 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008224/9.985, allocations: 3.846 MB / 4.64 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/9.985, allocations: 9.75 kB / 4.64 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/9.986, allocations: 314.7 kB / 4.64 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/9.987, allocations: 258 kB / 4.64 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/9.991, allocations: 3.638 MB / 4.644 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/9.994, allocations: 172.3 kB / 4.644 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/9.994, allocations: 79.34 kB / 4.644 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/9.994, allocations: 5.719 kB / 4.644 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003859/9.998, allocations: 1.33 MB / 4.645 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/9.998, allocations: 10.22 kB / 4.645 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/9.999, allocations: 313.9 kB / 4.646 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/10, allocations: 230.8 kB / 4.646 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/10.01, allocations: 4.948 MB / 4.651 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/10.01, allocations: 145.6 kB / 4.651 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/10.01, allocations: 71 kB / 4.651 GB, free: 101.9 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005308/10.01, allocations: 142.5 kB / 4.651 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/10.01, allocations: 191.8 kB / 4.651 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/10.01, allocations: 1.398 MB / 4.653 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/10.01, allocations: 10.75 kB / 4.653 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/10.01, allocations: 2.188 kB / 4.653 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002675/10.02, allocations: 1.177 MB / 4.654 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/10.02, allocations: 2.9 MB / 4.657 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/10.02, allocations: 0 / 4.657 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/10.03, allocations: 187.9 kB / 4.657 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006798/10.03, allocations: 234.6 kB / 4.657 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/10.03, allocations: 14.36 kB / 4.657 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/10.03, allocations: 3.482 MB / 4.661 GB, free: 97.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/10.03, allocations: 0 / 4.661 GB, free: 97.68 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00381/10.03, allocations: 1.997 MB / 4.662 GB, free: 96.72 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/10.03, allocations: 360 kB / 4.663 GB, free: 96.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/10.03, allocations: 11 kB / 4.663 GB, free: 96.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/10.04, allocations: 105.7 kB / 4.663 GB, free: 96.44 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/10.04, allocations: 53.27 kB / 4.663 GB, free: 96.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/10.04, allocations: 42.81 kB / 4.663 GB, free: 96.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001627/10.04, allocations: 1.027 MB / 4.664 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005243/10.04, allocations: 1.44 MB / 4.665 GB, free: 95.56 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006263/10.05, allocations: 4.67 MB / 4.67 GB, free: 93.69 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00417/10.05, allocations: 2.076 MB / 4.672 GB, free: 92.78 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/10.05, allocations: 0 / 4.672 GB, free: 92.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001/10.05, allocations: 0.6001 MB / 4.673 GB, free: 92.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004536/10.06, allocations: 0.8799 MB / 4.673 GB, free: 92.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/10.07, allocations: 2.886 MB / 4.676 GB, free: 91.22 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/10.07, allocations: 1.806 MB / 4.678 GB, free: 90.39 MB / 0.9792 GB Notification: Performance of SimCode: time 1.883e-06/10.07, allocations: 3.75 kB / 4.678 GB, free: 90.39 MB / 0.9792 GB Notification: Performance of Templates: time 0.1086/10.18, allocations: 65.34 MB / 4.742 GB, free: 39.43 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)