Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") [: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.57/1.57, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001164/0.001164, allocations: 177.3 kB / 366.3 MB, free: 1.984 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.774/1.774, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.000931/0.000931, allocations: 100.5 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.624e-06, allocations: 0 / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7919, allocations: 116.3 MB / 0.9726 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.618/5.41, allocations: 2.113 GB / 3.086 GB, free: 337.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/5.41, allocations: 91.23 kB / 3.086 GB, free: 337.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.258/10.67, allocations: 1.534 GB / 4.62 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000401/10.67, allocations: 59.98 kB / 4.62 GB, free: 139.6 MB / 0.9948 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.01131/10.68, allocations: 2.585 MB / 4.622 GB, free: 138.5 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/10.68, allocations: 8.406 kB / 4.622 GB, free: 138.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007183/10.69, allocations: 0.9029 MB / 4.623 GB, free: 138.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009366/10.7, allocations: 3.066 MB / 4.626 GB, free: 137.9 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/10.7, allocations: 48.48 kB / 4.626 GB, free: 137.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/10.7, allocations: 96.66 kB / 4.626 GB, free: 137.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002566/10.7, allocations: 1.342 MB / 4.627 GB, free: 137.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/10.7, allocations: 1.498 MB / 4.629 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/10.7, allocations: 0 / 4.629 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/10.7, allocations: 3.281 kB / 4.629 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/10.7, allocations: 45.2 kB / 4.629 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/10.71, allocations: 7.834 MB / 4.637 GB, free: 134 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/10.72, allocations: 0.9865 MB / 4.638 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/10.72, allocations: 0.5972 MB / 4.638 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/10.72, allocations: 283 kB / 4.638 GB, free: 133.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/10.72, allocations: 44.19 kB / 4.638 GB, free: 133.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 3.156e-06/10.72, allocations: 1.562 kB / 4.638 GB, free: 133.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.00445/10.72, allocations: 1.398 MB / 4.64 GB, free: 133.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/10.72, allocations: 66.25 kB / 4.64 GB, free: 133.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/10.72, allocations: 1.368 MB / 4.641 GB, free: 133.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/10.72, allocations: 25.7 kB / 4.641 GB, free: 133.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/10.72, allocations: 0.629 MB / 4.642 GB, free: 132.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/10.73, allocations: 281.5 kB / 4.642 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/10.73, allocations: 0 / 4.642 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/10.73, allocations: 351 kB / 4.642 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/10.73, allocations: 421 kB / 4.643 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/10.73, allocations: 0.8447 MB / 4.644 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/10.73, allocations: 0.5969 MB / 4.644 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/10.73, allocations: 3.406 kB / 4.644 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004027/10.73, allocations: 1.647 MB / 4.646 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008286/10.73, allocations: 3.84 MB / 4.65 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/10.73, allocations: 8.781 kB / 4.65 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009913/10.73, allocations: 317.6 kB / 4.65 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/10.74, allocations: 254.6 kB / 4.65 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/10.74, allocations: 3.641 MB / 4.654 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/10.74, allocations: 172 kB / 4.654 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/10.74, allocations: 83.62 kB / 4.654 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/10.74, allocations: 8.969 kB / 4.654 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003492/10.74, allocations: 1.324 MB / 4.655 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/10.74, allocations: 12.53 kB / 4.655 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/10.75, allocations: 314.5 kB / 4.656 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/10.75, allocations: 236.7 kB / 4.656 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/10.75, allocations: 4.946 MB / 4.661 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/10.76, allocations: 144 kB / 4.661 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/10.76, allocations: 71.02 kB / 4.661 GB, free: 121.4 MB / 0.9948 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.0005148/10.76, allocations: 142.4 kB / 4.661 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/10.76, allocations: 193.4 kB / 4.661 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/10.76, allocations: 1.406 MB / 4.663 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/10.76, allocations: 7.594 kB / 4.663 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/10.76, allocations: 3.906 kB / 4.663 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002419/10.76, allocations: 1.158 MB / 4.664 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/10.77, allocations: 2.909 MB / 4.667 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/10.77, allocations: 3.969 kB / 4.667 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/10.77, allocations: 190 kB / 4.667 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006015/10.77, allocations: 223.5 kB / 4.667 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/10.77, allocations: 21.59 kB / 4.667 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/10.77, allocations: 3.479 MB / 4.67 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/10.77, allocations: 3.781 kB / 4.67 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003713/10.78, allocations: 1.997 MB / 4.672 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/10.78, allocations: 373.1 kB / 4.673 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/10.78, allocations: 3.375 kB / 4.673 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/10.78, allocations: 110.4 kB / 4.673 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/10.78, allocations: 46.59 kB / 4.673 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/10.78, allocations: 41.73 kB / 4.673 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001584/10.78, allocations: 1.031 MB / 4.674 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005028/10.79, allocations: 1.429 MB / 4.675 GB, free: 116.5 MB / 0.9948 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.006723/10.79, allocations: 4.678 MB / 4.68 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004439/10.8, allocations: 2.085 MB / 4.682 GB, free: 114.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/10.8, allocations: 0 / 4.682 GB, free: 114.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/10.8, allocations: 0.5942 MB / 4.682 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/10.8, allocations: 0.8817 MB / 4.683 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/10.81, allocations: 2.885 MB / 4.686 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/10.81, allocations: 1.805 MB / 4.688 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.834e-06/10.81, allocations: 0 / 4.688 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.1097/10.92, allocations: 65.35 MB / 4.752 GB, free: 109.4 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)