Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.MoverContinuous.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.MoverContinuous") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.117/2.117, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002323/0.002323, allocations: 177.3 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001347/0.001346, allocations: 91.36 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.05e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2373, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.539/1.776, allocations: 435.1 MB / 1.313 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.777, allocations: 92.52 kB / 1.313 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 11.06/12.84, allocations: 2.257 GB / 3.57 GB, free: 57.03 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001167/12.84, allocations: 106.6 kB / 3.57 GB, free: 57.01 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01689/12.86, allocations: 3.861 MB / 3.573 GB, free: 54.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/12.86, allocations: 8.906 kB / 3.574 GB, free: 54.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/12.87, allocations: 1.256 MB / 3.575 GB, free: 53.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1198/12.99, allocations: 30.57 MB / 3.605 GB, free: 26.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/12.99, allocations: 64 kB / 3.605 GB, free: 26.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/12.99, allocations: 136 kB / 3.605 GB, free: 26.31 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007625/13, allocations: 2.171 MB / 3.607 GB, free: 24.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0088/13.01, allocations: 2.391 MB / 3.609 GB, free: 21.65 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/13.01, allocations: 0 / 3.609 GB, free: 21.65 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003927/13.01, allocations: 7.047 kB / 3.609 GB, free: 21.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/13.01, allocations: 48 kB / 3.609 GB, free: 21.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03572/13.05, allocations: 12.71 MB / 3.622 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005062/13.05, allocations: 2.054 MB / 3.624 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/13.05, allocations: 0.9273 MB / 3.625 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/13.07, allocations: 5.048 MB / 3.63 GB, free: 164 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/13.07, allocations: 43.34 kB / 3.63 GB, free: 112 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=88): time 4.428e-06/13.07, allocations: 0 / 3.63 GB, free: 112 kB / 0.9167 GB Notification: Performance of matching and sorting (n=88): time 0.01463/13.08, allocations: 2.767 MB / 3.632 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/13.08, allocations: 60.19 kB / 3.632 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/13.1, allocations: 4.65 MB / 3.637 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007217/13.1, allocations: 29.7 kB / 3.637 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/13.1, allocations: 1.124 MB / 3.638 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009314/13.1, allocations: 299.5 kB / 3.638 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/13.11, allocations: 0 / 3.638 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004/13.11, allocations: 385.9 kB / 3.639 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/13.11, allocations: 1.046 MB / 3.64 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/13.11, allocations: 2.014 MB / 3.642 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007359/13.12, allocations: 1.502 MB / 3.643 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-05/13.12, allocations: 8 kB / 3.643 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01545/13.14, allocations: 3.608 MB / 3.647 GB, free: 14.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.4839/13.62, allocations: 12.93 MB / 3.659 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.51e-05/13.62, allocations: 29.06 kB / 3.659 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/13.62, allocations: 329.6 kB / 3.66 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006366/13.63, allocations: 0.5419 MB / 3.66 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/13.64, allocations: 6.132 MB / 3.666 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/13.64, allocations: 297.6 kB / 3.666 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009796/13.64, allocations: 209.8 kB / 3.667 GB, free: 172.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/13.64, allocations: 3.25 kB / 3.667 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0182/13.66, allocations: 2.713 MB / 3.669 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/13.66, allocations: 28.12 kB / 3.669 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/13.66, allocations: 338.8 kB / 3.67 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007041/13.67, allocations: 0.5823 MB / 3.67 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/13.67, allocations: 2.608 MB / 3.673 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007878/13.68, allocations: 229.1 kB / 3.673 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/13.68, allocations: 202.7 kB / 3.673 GB, free: 170.1 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.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: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00148/13.69, allocations: 194.4 kB / 3.673 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/13.69, allocations: 394.2 kB / 3.674 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/13.71, allocations: 2.845 MB / 3.676 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.578e-05/13.71, allocations: 16.78 kB / 3.676 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/13.71, allocations: 0 / 3.676 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-05/13.71, allocations: 3.703 kB / 3.677 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/13.74, allocations: 5.622 MB / 3.682 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/13.74, allocations: 0 / 3.682 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003922/13.74, allocations: 237.6 kB / 3.682 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/13.75, allocations: 403 kB / 3.683 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/13.75, allocations: 27.17 kB / 3.683 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/13.75, allocations: 5.123 MB / 3.688 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/13.75, allocations: 0 / 3.688 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01717/13.77, allocations: 2.56 MB / 3.69 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005706/13.78, allocations: 0.9013 MB / 3.691 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00288/13.78, allocations: 7.703 kB / 3.691 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007727/13.79, allocations: 143.5 kB / 3.691 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005359/13.79, allocations: 68.03 kB / 3.691 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005484/13.79, allocations: 81.64 kB / 3.691 GB, free: 164.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.01487/13.8, allocations: 3.474 MB / 3.695 GB, free: 164 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01644/13.82, allocations: 1.821 MB / 3.696 GB, free: 163.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006744/13.83, allocations: 1.983 MB / 3.698 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01413/13.84, allocations: 3.995 MB / 3.702 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/13.84, allocations: 0 / 3.702 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/13.85, allocations: 0.821 MB / 3.703 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01444/13.86, allocations: 1.817 MB / 3.705 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/13.88, allocations: 5.595 MB / 3.71 GB, free: 162.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007497/13.89, allocations: 2.992 MB / 3.713 GB, free: 161.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.964e-06/13.89, allocations: 0 / 3.713 GB, free: 161.3 MB / 0.948 GB Notification: Performance of Templates: time 0.2728/14.16, allocations: 103.4 MB / 3.814 GB, free: 156.9 MB / 0.948 GB