Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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_3.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_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7748/0.7748, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001148/0.001148, allocations: 166.8 kB / 171.6 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.278/1.278, allocations: 170.5 MB / 373.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002/0.002, allocations: 111.9 kB / 444.4 MB, free: 9.328 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4656/0.4656, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.6167, allocations: 101.7 MB / 0.7653 GB, free: 2.492 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.6172, allocations: 82.83 kB / 0.7654 GB, free: 2.414 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01013/0.6274, allocations: 2.793 MB / 0.7682 GB, free: 15.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.6274, allocations: 4 kB / 0.7682 GB, free: 15.69 MB / 490.7 MB 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.0003947/0.6278, allocations: 351.4 kB / 0.7685 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.6279, allocations: 8.031 kB / 0.7685 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.6279, allocations: 6.031 kB / 0.7685 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.6281, allocations: 163 kB / 0.7687 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6281, allocations: 0 / 0.7687 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.6282, allocations: 4 kB / 0.7687 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.03e-05/0.6283, allocations: 19.94 kB / 0.7687 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.6284, allocations: 45.62 kB / 0.7687 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6284, allocations: 8 kB / 0.7687 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6284, allocations: 0 / 0.7687 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.6284, allocations: 6.062 kB / 0.7687 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.6286, allocations: 142.2 kB / 0.7689 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.6287, allocations: 37.72 kB / 0.7689 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.6288, allocations: 21.61 kB / 0.7689 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.6291, allocations: 117.1 kB / 0.769 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.6292, allocations: 34.56 kB / 0.7691 GB, free: 14.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.6292, allocations: 0 / 0.7691 GB, free: 14.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.005619/0.6348, allocations: 1.255 MB / 0.7703 GB, free: 13.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.6349, allocations: 62.41 kB / 0.7704 GB, free: 13.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.6349, allocations: 88.94 kB / 0.7705 GB, free: 13.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.635, allocations: 29.7 kB / 0.7705 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.635, allocations: 84.12 kB / 0.7706 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.6351, allocations: 31.47 kB / 0.7706 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.6351, allocations: 0 / 0.7706 GB, free: 12.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6352, allocations: 318.8 kB / 0.7709 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.6353, allocations: 32 kB / 0.7709 GB, free: 12.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.6354, allocations: 34.36 kB / 0.771 GB, free: 12.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.6355, allocations: 27.98 kB / 0.771 GB, free: 12.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6355, allocations: 0 / 0.771 GB, free: 12.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002218/0.6357, allocations: 105.6 kB / 0.7711 GB, free: 12.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6357, allocations: 10.97 kB / 0.7711 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6357, allocations: 3.938 kB / 0.7711 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6358, allocations: 0 / 0.7711 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.6362, allocations: 73.56 kB / 0.7712 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6362, allocations: 3.906 kB / 0.7712 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.6365, allocations: 47.95 kB / 0.7712 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.6365, allocations: 4 kB / 0.7712 GB, free: 12.27 MB / 490.7 MB 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.197e-05/0.6366, allocations: 101.9 kB / 0.7713 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.6367, allocations: 11.91 kB / 0.7713 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.6367, allocations: 8.062 kB / 0.7713 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6367, allocations: 5.25 kB / 0.7713 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6367, allocations: 0 / 0.7713 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6368, allocations: 0 / 0.7713 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.6373, allocations: 366.9 kB / 0.7717 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6374, allocations: 0 / 0.7717 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.6378, allocations: 67.94 kB / 0.7718 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6378, allocations: 0 / 0.7718 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.6379, allocations: 0.8125 kB / 0.7718 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6379, allocations: 3.75 kB / 0.7718 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6379, allocations: 4 kB / 0.7718 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003874/0.6383, allocations: 254.5 kB / 0.772 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.6383, allocations: 89 kB / 0.7721 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.6384, allocations: 0.75 kB / 0.7721 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.6388, allocations: 48.02 kB / 0.7721 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.6388, allocations: 4 kB / 0.7721 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.6388, allocations: 7.984 kB / 0.7722 GB, free: 11.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.077e-05/0.6389, allocations: 79.28 kB / 0.7722 GB, free: 11.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.6391, allocations: 24.09 kB / 0.7722 GB, free: 11.14 MB / 490.7 MB 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.0001739/0.6393, allocations: 104.7 kB / 0.7723 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.6395, allocations: 76.55 kB / 0.7724 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6395, allocations: 0 / 0.7724 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6397, allocations: 47.92 kB / 0.7725 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.6398, allocations: 10.44 kB / 0.7725 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.6418, allocations: 0.5117 MB / 0.773 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.6423, allocations: 0.7231 MB / 0.7737 GB, free: 9.633 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/0.6423, allocations: 0 / 0.7737 GB, free: 9.633 MB / 490.7 MB Notification: Performance of Templates: time 0.004521/0.6468, allocations: 1.731 MB / 0.7754 GB, free: 7.938 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)