Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [: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.104/2.104, allocations: 253.1 MB / 260.4 MB, free: 0.5742 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.001604/0.001603, allocations: 196.3 kB / 319.6 MB, free: 7.676 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.25/2.25, allocations: 205.4 MB / 0.5704 GB, free: 25.83 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.001955/0.001955, allocations: 87.45 kB / 0.6746 GB, free: 3.277 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.127e-05, allocations: 0 / 0.7843 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4763, allocations: 106.2 MB / 0.8881 GB, free: 77.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/0.7223, allocations: 131.6 MB / 1.017 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.7227, allocations: 79.95 kB / 1.017 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.03541/0.7581, allocations: 4.126 MB / 1.021 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.7582, allocations: 4 kB / 1.021 GB, free: 5.133 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005502/0.7588, allocations: 346.3 kB / 1.021 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.7589, allocations: 12.03 kB / 1.021 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.7589, allocations: 0 / 1.021 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.7591, allocations: 174.9 kB / 1.021 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7592, allocations: 0 / 1.021 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.7592, allocations: 8 kB / 1.021 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001321/0.7594, allocations: 11.98 kB / 1.021 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7596, allocations: 45.69 kB / 1.021 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.7596, allocations: 0 / 1.021 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.7597, allocations: 4 kB / 1.021 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.7597, allocations: 0 / 1.021 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.76, allocations: 146.1 kB / 1.021 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7601, allocations: 33.66 kB / 1.021 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.7602, allocations: 32.78 kB / 1.021 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.7603, allocations: 4 kB / 1.021 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.7604, allocations: 34.56 kB / 1.021 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.7604, allocations: 0 / 1.021 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.001752/0.7621, allocations: 0.513 MB / 1.022 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.7622, allocations: 55.41 kB / 1.022 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.7624, allocations: 88.98 kB / 1.022 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.7625, allocations: 25.7 kB / 1.022 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.7626, allocations: 88.12 kB / 1.022 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/0.7627, allocations: 47.39 kB / 1.022 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.7627, allocations: 0 / 1.022 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.7629, allocations: 314.8 kB / 1.023 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.763, allocations: 20 kB / 1.023 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.17e-05/0.7631, allocations: 16 kB / 1.023 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.7632, allocations: 23.98 kB / 1.023 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7633, allocations: 0 / 1.023 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003634/0.7636, allocations: 85.59 kB / 1.023 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.7637, allocations: 13.72 kB / 1.023 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7637, allocations: 0 / 1.023 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7638, allocations: 0 / 1.023 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.7641, allocations: 19.98 kB / 1.023 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.7641, allocations: 7.938 kB / 1.023 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.7642, allocations: 0 / 1.023 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.7643, allocations: 0 / 1.023 GB, free: 2.715 MB / 0.6667 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 (13): * Single equations (assignments): 13 * 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.0001455/0.7644, allocations: 108.9 kB / 1.023 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.7645, allocations: 3.938 kB / 1.023 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.7649, allocations: 109.7 kB / 1.023 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.765, allocations: 0 / 1.023 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.765, allocations: 0 / 1.023 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.765, allocations: 0 / 1.023 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.7658, allocations: 330.9 kB / 1.023 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.7658, allocations: 0 / 1.023 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.7662, allocations: 16 kB / 1.023 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.7662, allocations: 0 / 1.023 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.7662, allocations: 7.984 kB / 1.023 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7662, allocations: 4.547 kB / 1.023 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7663, allocations: 0 / 1.023 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005028/0.7668, allocations: 211.6 kB / 1.024 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.7669, allocations: 81.02 kB / 1.024 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.7669, allocations: 0 / 1.024 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.7672, allocations: 4 kB / 1.024 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.7672, allocations: 8.031 kB / 1.024 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.7673, allocations: 4.062 kB / 1.024 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.331e-05/0.7673, allocations: 87.28 kB / 1.024 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006521/0.768, allocations: 35.94 kB / 1.024 GB, free: 1.633 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004176/0.7685, allocations: 135.2 kB / 1.024 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.7688, allocations: 55.94 kB / 1.024 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7688, allocations: 0 / 1.024 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.7689, allocations: 35.92 kB / 1.024 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.7692, allocations: 4.094 kB / 1.024 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/0.7702, allocations: 205.3 kB / 1.024 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.7707, allocations: 0.6997 MB / 1.025 GB, free: 456 kB / 0.6667 GB Notification: Performance of SimCode: time 1.663e-06/0.7707, allocations: 4 kB / 1.025 GB, free: 452 kB / 0.6667 GB Notification: Performance of Templates: time 0.007245/0.778, allocations: 1.071 MB / 1.026 GB, free: 15.41 MB / 0.6824 GB