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_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.537/2.537, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001636/0.001636, allocations: 189.2 kB / 360.4 MB, free: 7.508 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.713/1.713, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001231/0.001231, allocations: 82.39 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.149e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5867, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.8015, allocations: 137.9 MB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.8018, allocations: 75.95 kB / 1.098 GB, free: 2.785 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02314/0.825, allocations: 4.131 MB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.825, allocations: 0.5938 kB / 1.102 GB, free: 14.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004289/0.8255, allocations: 345.5 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8255, allocations: 8.531 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.8256, allocations: 12.45 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.8258, allocations: 165 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8258, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.8258, allocations: 5 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.744e-05/0.8259, allocations: 23.84 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.826, allocations: 42.34 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8261, allocations: 0.7188 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8261, allocations: 4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8261, allocations: 0.5312 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.8263, allocations: 134.9 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.8265, allocations: 46.61 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.8265, allocations: 25.03 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.8266, allocations: 4.672 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.8266, allocations: 39.94 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.558e-06/0.8266, allocations: 3.984 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.00119/0.8278, allocations: 0.5074 MB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.8279, allocations: 51.41 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.828, allocations: 97 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.828, allocations: 25.7 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.8281, allocations: 80.14 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.8282, allocations: 43.3 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.8282, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8283, allocations: 319.5 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.8284, allocations: 15.98 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.8285, allocations: 19.94 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.8286, allocations: 20 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8286, allocations: 4.125 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002333/0.8288, allocations: 95.89 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8288, allocations: 4 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8289, allocations: 3.75 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.8289, allocations: 0 / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8291, allocations: 23.98 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.8291, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.8292, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.8292, allocations: 8 kB / 1.104 GB, free: 12.32 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.525e-05/0.8293, allocations: 112.7 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.8293, allocations: 7.906 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.8296, allocations: 85.73 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8297, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8297, allocations: 4 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.8297, allocations: 3.984 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.8302, allocations: 322.6 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8303, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.8305, allocations: 27.98 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.8305, allocations: 4 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.8306, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8306, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.8306, allocations: 3.906 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003454/0.8309, allocations: 203.4 kB / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.831, allocations: 82.52 kB / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.831, allocations: 0 / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.8312, allocations: 3.906 kB / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.8312, allocations: 21.48 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8313, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.117e-05/0.8313, allocations: 75.28 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004348/0.8318, allocations: 43.92 kB / 1.105 GB, free: 11.25 MB / 0.7136 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.0003249/0.8321, allocations: 139.2 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.8323, allocations: 55.94 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8323, allocations: 0 / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.8324, allocations: 28.09 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.8326, allocations: 4.109 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.8333, allocations: 218.6 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.8337, allocations: 0.7102 MB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/0.8337, allocations: 0 / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.00504/0.8387, allocations: 1.055 MB / 1.107 GB, free: 9.047 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)