Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.735/0.735, 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.001092/0.001092, allocations: 171.9 kB / 171.6 MB, free: 1.969 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.259/1.259, allocations: 170.5 MB / 373.9 MB, free: 15.8 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.001668/0.001669, allocations: 118.5 kB / 444.5 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.4773/0.4774, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.622, allocations: 101.2 MB / 0.7648 GB, free: 3.039 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.6224, allocations: 77.7 kB / 0.7649 GB, free: 2.965 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005184/0.6276, allocations: 1.354 MB / 0.7662 GB, free: 1.656 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.6276, allocations: 0 / 0.7662 GB, free: 1.656 MB / 474.7 MB 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.0003132/0.6279, allocations: 339.8 kB / 0.7665 GB, free: 1.281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.628, allocations: 12.03 kB / 0.7665 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.628, allocations: 2.031 kB / 0.7665 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.6282, allocations: 165.5 kB / 0.7667 GB, free: 1.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6282, allocations: 4 kB / 0.7667 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.6282, allocations: 0 / 0.7667 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.224e-05/0.6283, allocations: 8 kB / 0.7667 GB, free: 1.059 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.067e-05/0.6284, allocations: 42.94 kB / 0.7668 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6284, allocations: 0 / 0.7668 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.6284, allocations: 0 / 0.7668 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6285, allocations: 3.938 kB / 0.7668 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.6286, allocations: 142.1 kB / 0.7669 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.6288, allocations: 33.75 kB / 0.7669 GB, free: 0.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.6289, allocations: 8.859 kB / 0.7669 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.6292, allocations: 114.8 kB / 0.767 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.6292, allocations: 37.5 kB / 0.7671 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.6292, allocations: 0 / 0.7671 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.002116/0.6314, allocations: 0.5005 MB / 0.7676 GB, free: 60 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.6314, allocations: 55.39 kB / 0.7676 GB, free: 15.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.6315, allocations: 89 kB / 0.7677 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6315, allocations: 25.7 kB / 0.7677 GB, free: 15.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.6316, allocations: 84.14 kB / 0.7678 GB, free: 15.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.6316, allocations: 15.72 kB / 0.7678 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.6316, allocations: 0 / 0.7678 GB, free: 15.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6318, allocations: 322.8 kB / 0.7681 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.6318, allocations: 12 kB / 0.7681 GB, free: 15.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.6318, allocations: 12 kB / 0.7682 GB, free: 15.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.6319, allocations: 19.84 kB / 0.7682 GB, free: 15.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.6319, allocations: 0 / 0.7682 GB, free: 15.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001193/0.632, allocations: 70.44 kB / 0.7682 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.632, allocations: 7.094 kB / 0.7682 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.632, allocations: 4 kB / 0.7683 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6321, allocations: 1.219 kB / 0.7683 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.6322, allocations: 31.98 kB / 0.7683 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6322, allocations: 0 / 0.7683 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.6323, allocations: 11.98 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.6324, allocations: 4 kB / 0.7683 GB, free: 15.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 (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.326e-05/0.6324, allocations: 109.8 kB / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.6325, allocations: 7.984 kB / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.6325, allocations: 4.062 kB / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6325, allocations: 3.938 kB / 0.7684 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6325, allocations: 3.906 kB / 0.7684 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6325, allocations: 0 / 0.7684 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.633, allocations: 312 kB / 0.7687 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.633, allocations: 3.938 kB / 0.7687 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.6332, allocations: 23.98 kB / 0.7687 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6332, allocations: 0 / 0.7687 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6332, allocations: 15.86 kB / 0.7688 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6332, allocations: 1.75 kB / 0.7688 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6332, allocations: 4 kB / 0.7688 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002131/0.6335, allocations: 193.8 kB / 0.769 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.6335, allocations: 87.2 kB / 0.769 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.6335, allocations: 0 / 0.769 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.6337, allocations: 20.05 kB / 0.7691 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.6337, allocations: 15.95 kB / 0.7691 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6337, allocations: 0 / 0.7691 GB, free: 14.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.568e-05/0.6338, allocations: 79.28 kB / 0.7691 GB, free: 14.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.634, allocations: 8 kB / 0.7692 GB, free: 14.31 MB / 490.7 MB 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.0001284/0.6342, allocations: 111.1 kB / 0.7693 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6343, allocations: 41.55 kB / 0.7693 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6343, allocations: 0 / 0.7693 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.6343, allocations: 23.94 kB / 0.7693 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.6345, allocations: 1.031 kB / 0.7693 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.6351, allocations: 212.3 kB / 0.7695 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.6354, allocations: 0.6997 MB / 0.7702 GB, free: 13.17 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6354, allocations: 0 / 0.7702 GB, free: 13.17 MB / 490.7 MB Notification: Performance of Templates: time 0.002566/0.638, allocations: 0.7664 MB / 0.771 GB, free: 12.45 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)