Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [: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 8.0.0/package.mo): time 2.551/2.551, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 181.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 80.67 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.207e-06, allocations: 0 / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5879, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.8002, allocations: 137.7 MB / 1.097 GB, free: 3.086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.8006, allocations: 80.7 kB / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01434/0.8149, allocations: 2.496 MB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.815, allocations: 4 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003951/0.8154, allocations: 339.7 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8155, allocations: 12.53 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.8155, allocations: 4.531 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.8157, allocations: 163.1 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.8157, allocations: 5 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.8158, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.448e-05/0.8159, allocations: 8.719 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.816, allocations: 37.69 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.816, allocations: 5.906 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.816, allocations: 0 / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.816, allocations: 0.6562 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.8162, allocations: 144.8 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.8164, allocations: 26.41 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.8165, allocations: 13.42 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.8166, allocations: 4.5 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.8166, allocations: 39.23 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.8166, allocations: 5.406 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007505/0.8174, allocations: 278.3 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.8174, allocations: 52.22 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.8175, allocations: 96.98 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.8175, allocations: 26.3 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.8176, allocations: 80.98 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.8176, allocations: 24.36 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.8176, allocations: 0.5625 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8178, allocations: 311.4 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.8178, allocations: 12.53 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.8179, allocations: 8.5 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.8179, allocations: 16.19 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.8179, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001459/0.8181, allocations: 58.8 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8181, allocations: 11.91 kB / 1.101 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8181, allocations: 7.984 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8182, allocations: 0 / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.8183, allocations: 8 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.8183, allocations: 0 / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.8183, allocations: 0 / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.8183, allocations: 9.688 kB / 1.101 GB, free: 14.58 MB / 0.7136 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 7.663e-05/0.8184, allocations: 104.8 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.8185, allocations: 7.906 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.8187, allocations: 77.67 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.8187, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8187, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8187, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.8191, allocations: 287.9 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8192, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.8193, allocations: 11.94 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.8193, allocations: 3.984 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8193, allocations: 5.5 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8193, allocations: 4.031 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8193, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002455/0.8196, allocations: 178 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.8197, allocations: 89 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.8197, allocations: 3.938 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.8199, allocations: 1.812 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.8199, allocations: 12.12 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.8199, allocations: 4 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.986e-05/0.82, allocations: 75.84 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003667/0.8203, allocations: 27.92 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002715/0.8206, allocations: 134.5 kB / 1.102 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.8208, allocations: 24 kB / 1.102 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8208, allocations: 4 kB / 1.102 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.8208, allocations: 19.94 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.8211, allocations: 7.141 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.8216, allocations: 132.1 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.8219, allocations: 0.6919 MB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.8219, allocations: 4 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.003865/0.8258, allocations: 0.6611 MB / 1.104 GB, free: 11.92 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)