Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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.126/2.126, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001668/0.001667, allocations: 189.2 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 2.271/2.271, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001251/0.001251, allocations: 91.38 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.162e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6246/0.8283, allocations: 132.6 MB / 1.018 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.8287, allocations: 76.83 kB / 1.018 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01489/0.8436, allocations: 2.863 MB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.8437, allocations: 0 / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006331/0.8443, allocations: 400 kB / 1.021 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.8444, allocations: 8.031 kB / 1.021 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.846, allocations: 111.5 kB / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.8462, allocations: 167 kB / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.8462, allocations: 4 kB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.8463, allocations: 4 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00029/0.8466, allocations: 60.73 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.8468, allocations: 105 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8469, allocations: 4 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.8469, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.8469, allocations: 4 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.8486, allocations: 430.7 kB / 1.022 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.8489, allocations: 64.48 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.849, allocations: 26.73 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.849, allocations: 7.25 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.8491, allocations: 34.56 kB / 1.022 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.335e-06/0.8491, allocations: 0 / 1.022 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000361/0.8495, allocations: 88.34 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.8495, allocations: 59.34 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.8497, allocations: 122.7 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.8497, allocations: 25.7 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.8498, allocations: 106.9 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.8498, allocations: 15.66 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.8498, allocations: 0 / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.85, allocations: 322.3 kB / 1.023 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.8501, allocations: 21.75 kB / 1.023 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.8502, allocations: 30.17 kB / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/0.8503, allocations: 29.86 kB / 1.023 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.8503, allocations: 0 / 1.023 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003238/0.8506, allocations: 94.19 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.8507, allocations: 96.38 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8507, allocations: 0 / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.8508, allocations: 4 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.8514, allocations: 47.89 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8514, allocations: 0.7031 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.8519, allocations: 35.88 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.852, allocations: 11.48 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.852, allocations: 4 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000126/0.8521, allocations: 31.02 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.8521, allocations: 4 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.8521, allocations: 0 / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.8523, allocations: 19.98 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8523, allocations: 4.062 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.8525, allocations: 8 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.8525, allocations: 4 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.8526, allocations: 112.8 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8527, allocations: 11.89 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.8528, allocations: 7.625 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.8528, allocations: 4 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.8528, allocations: 0 / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.8529, allocations: 4 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.8535, allocations: 363.8 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8536, allocations: 4 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.8541, allocations: 40.02 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.8541, allocations: 7.984 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.8542, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8542, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8542, allocations: 4.047 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003798/0.8546, allocations: 237.8 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8547, allocations: 92.56 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.8548, allocations: 3.984 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.8553, allocations: 31.97 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.8554, allocations: 3.562 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.8554, allocations: 7.984 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.283e-05/0.8555, allocations: 105.1 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004817/0.856, allocations: 35.84 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.8562, allocations: 101.2 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.8565, allocations: 80.09 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8565, allocations: 3.938 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.8567, allocations: 33.36 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.8569, allocations: 6.656 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.8583, allocations: 196.1 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.8587, allocations: 0.7153 MB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of SimCode: time 8.91e-07/0.8588, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of Templates: time 0.005516/0.8643, allocations: 1.446 MB / 1.026 GB, free: 13.05 MB / 0.6511 GB