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_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.356/2.356, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.001643/0.001642, allocations: 177.3 kB / 319.6 MB, free: 3.324 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.821/1.821, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001809/0.001809, allocations: 91.33 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.238e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6101/0.8049, allocations: 133.3 MB / 1.018 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.8052, allocations: 82.19 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02116/0.8264, allocations: 3.914 MB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.8265, allocations: 0 / 1.022 GB, free: 1.863 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006186/0.8271, allocations: 373.1 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8272, allocations: 8.031 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.8272, allocations: 7.906 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.8274, allocations: 163.1 kB / 1.023 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.8274, allocations: 7.984 kB / 1.023 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.8275, allocations: 7.906 kB / 1.023 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001276/0.8276, allocations: 29.5 kB / 1.023 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.8278, allocations: 64.86 kB / 1.023 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.8278, allocations: 0 / 1.023 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.8278, allocations: 0 / 1.023 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8279, allocations: 4 kB / 1.023 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.8286, allocations: 297.9 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/0.8287, allocations: 40.89 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.8287, allocations: 16.73 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.8288, allocations: 0 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.8288, allocations: 38.12 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8288, allocations: 0.9375 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001152/0.83, allocations: 0.5218 MB / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.8301, allocations: 55.34 kB / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.8302, allocations: 96.61 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.8302, allocations: 25.7 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.8302, allocations: 88.05 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.8303, allocations: 35.23 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.8303, allocations: 7.938 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8305, allocations: 318.1 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.8306, allocations: 22.48 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.8307, allocations: 22.88 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.8307, allocations: 22.88 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8308, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002246/0.831, allocations: 89.36 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.831, allocations: 6.5 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.831, allocations: 3.906 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8311, allocations: 7.938 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.8314, allocations: 31.92 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8314, allocations: 0.8594 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.8316, allocations: 7.984 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.8316, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.6511 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.0001005/0.8317, allocations: 112 kB / 1.025 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.8318, allocations: 3.906 kB / 1.025 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.8321, allocations: 105.9 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8321, allocations: 0 / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8321, allocations: 0 / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.8321, allocations: 4 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.8327, allocations: 331.3 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8327, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.833, allocations: 31.98 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.833, allocations: 3.938 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.833, allocations: 4 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8331, allocations: 4 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8331, allocations: 192 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003506/0.8334, allocations: 226 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.8335, allocations: 81.09 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.8335, allocations: 4.062 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.8338, allocations: 11.91 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.8338, allocations: 3.984 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.8338, allocations: 6.562 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.191e-05/0.8339, allocations: 79.28 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004072/0.8343, allocations: 43.92 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002972/0.8346, allocations: 147 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.8348, allocations: 53.62 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8348, allocations: 4 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.8349, allocations: 31.38 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.8352, allocations: 7.984 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.8359, allocations: 231.4 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.8363, allocations: 0.7067 MB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/0.8363, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.005164/0.8414, allocations: 1.238 MB / 1.028 GB, free: 11.87 MB / 0.6511 GB