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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.231/2.231, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001601/0.001601, allocations: 185.2 kB / 360.4 MB, free: 7.527 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.8/1.8, allocations: 205.2 MB / 0.6188 GB, free: 12.41 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.001385/0.001385, allocations: 89.12 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.196e-06/8.375e-06, allocations: 0 / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.571/0.571, allocations: 115.2 MB / 0.9628 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.8018, allocations: 138.6 MB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.8021, allocations: 76.98 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02184/0.824, allocations: 3.907 MB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.824, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 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.0006758/0.8247, allocations: 368.7 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8248, allocations: 13.08 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.8248, allocations: 8 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.825, allocations: 171.6 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.825, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.8251, allocations: 12.41 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/0.8252, allocations: 31.98 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.8254, allocations: 54.22 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.8254, allocations: 11.91 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.8254, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8254, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.8262, allocations: 305.1 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.8263, allocations: 33.72 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.8264, allocations: 20.86 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.8264, allocations: 7.891 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.8264, allocations: 30.56 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.627e-06/0.8265, allocations: 3.984 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001236/0.8277, allocations: 0.5238 MB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.8278, allocations: 59.39 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.8279, allocations: 93 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.8279, allocations: 25.7 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.828, allocations: 84.05 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.828, allocations: 39.45 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.828, allocations: 4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8282, allocations: 322.8 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.8283, allocations: 20 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.8283, allocations: 16 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.524e-05/0.8284, allocations: 23.98 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8284, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002413/0.8287, allocations: 93.66 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8287, allocations: 4 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8287, allocations: 4 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8288, allocations: 0 / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.8291, allocations: 35.97 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8291, allocations: 5.062 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.8293, allocations: 4 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.8293, allocations: 4 kB / 1.104 GB, free: 11.62 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 (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 9.895e-05/0.8294, allocations: 112.6 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.8295, allocations: 11.91 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.8298, allocations: 100.4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8298, allocations: 1.219 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8298, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.8298, allocations: 3.984 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.8304, allocations: 330.9 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8304, allocations: 1.375 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.8308, allocations: 27.98 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.8308, allocations: 4 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.8308, allocations: 3.984 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.8308, allocations: 0 / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8308, allocations: 3.672 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003675/0.8312, allocations: 215.4 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.8313, allocations: 81.02 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.8313, allocations: 4.062 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.8316, allocations: 14.23 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.8316, allocations: 7.938 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.8316, allocations: 11.98 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.316e-05/0.8317, allocations: 75.28 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004205/0.8321, allocations: 39.94 kB / 1.105 GB, free: 10.52 MB / 0.7136 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.0003043/0.8324, allocations: 143.1 kB / 1.105 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.8327, allocations: 64.39 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8327, allocations: 112 / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.8328, allocations: 39.92 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.8331, allocations: 3.906 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.8338, allocations: 232 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.8342, allocations: 0.7114 MB / 1.106 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.8342, allocations: 0 / 1.106 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of Templates: time 0.005376/0.8396, allocations: 1.229 MB / 1.108 GB, free: 8.102 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)