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_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.7126/0.7126, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001135/0.001135, allocations: 169.8 kB / 171.6 MB, free: 1.988 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.534/1.534, 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.001595/0.001594, allocations: 118.8 kB / 444.5 MB, free: 9.348 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.5425/0.5426, allocations: 73.39 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.6935, allocations: 101.6 MB / 0.7652 GB, free: 2.645 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.6939, allocations: 75.95 kB / 0.7653 GB, free: 2.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.00865/0.7025, allocations: 2.301 MB / 0.7675 GB, free: 340 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.7026, allocations: 3.938 kB / 0.7675 GB, free: 336 kB / 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.0004416/0.703, allocations: 342.4 kB / 0.7679 GB, free: 15.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.7031, allocations: 8.031 kB / 0.7679 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.7032, allocations: 5.031 kB / 0.7679 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.7034, allocations: 171 kB / 0.768 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.7034, allocations: 0 / 0.768 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.7034, allocations: 0 / 0.768 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.718e-05/0.7035, allocations: 9.594 kB / 0.7681 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.7037, allocations: 37.69 kB / 0.7681 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.7037, allocations: 0 / 0.7681 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.7037, allocations: 3.938 kB / 0.7681 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.7037, allocations: 4 kB / 0.7681 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.704, allocations: 146.1 kB / 0.7682 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.7042, allocations: 29.75 kB / 0.7683 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.7043, allocations: 16.86 kB / 0.7683 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000365/0.7047, allocations: 109.2 kB / 0.7684 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7047, allocations: 38.56 kB / 0.7684 GB, free: 15.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 2.786e-06/0.7047, allocations: 2.531 kB / 0.7684 GB, free: 15.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.003248/0.708, allocations: 0.6523 MB / 0.7691 GB, free: 14.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.708, allocations: 59.39 kB / 0.7691 GB, free: 14.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.7081, allocations: 89 kB / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.7081, allocations: 29.7 kB / 0.7692 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.7082, allocations: 84.14 kB / 0.7693 GB, free: 14.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.7082, allocations: 15.66 kB / 0.7693 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.7082, allocations: 0 / 0.7693 GB, free: 14.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7084, allocations: 322.8 kB / 0.7696 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.7084, allocations: 12 kB / 0.7697 GB, free: 13.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.7085, allocations: 12 kB / 0.7697 GB, free: 13.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.7085, allocations: 23.64 kB / 0.7697 GB, free: 13.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.7085, allocations: 0 / 0.7697 GB, free: 13.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000145/0.7087, allocations: 77.61 kB / 0.7698 GB, free: 13.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7087, allocations: 5.562 kB / 0.7698 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7087, allocations: 0 / 0.7698 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7087, allocations: 0 / 0.7698 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.709, allocations: 43.97 kB / 0.7698 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.709, allocations: 1.875 kB / 0.7698 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.7092, allocations: 27.97 kB / 0.7698 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.7092, allocations: 3.984 kB / 0.7698 GB, free: 13.74 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 0.0001001/0.7093, allocations: 113.8 kB / 0.7699 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.7094, allocations: 4 kB / 0.77 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.7094, allocations: 4.062 kB / 0.77 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7094, allocations: 4 kB / 0.77 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7094, allocations: 3.906 kB / 0.77 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7094, allocations: 0 / 0.77 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.7101, allocations: 335.9 kB / 0.7703 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.7101, allocations: 1 kB / 0.7703 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.7104, allocations: 51.92 kB / 0.7703 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.7104, allocations: 0 / 0.7703 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.7104, allocations: 5.828 kB / 0.7703 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.7104, allocations: 4 kB / 0.7703 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7104, allocations: 0 / 0.7703 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002747/0.7107, allocations: 211.5 kB / 0.7705 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.7108, allocations: 85.09 kB / 0.7706 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.7108, allocations: 0 / 0.7706 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.7111, allocations: 31.97 kB / 0.7707 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.7111, allocations: 13.53 kB / 0.7707 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.7111, allocations: 7.984 kB / 0.7707 GB, free: 12.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.603e-05/0.7112, allocations: 75.28 kB / 0.7707 GB, free: 12.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.7114, allocations: 12 kB / 0.7708 GB, free: 12.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001817/0.7116, allocations: 103.2 kB / 0.7709 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.7118, allocations: 47.92 kB / 0.7709 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7118, allocations: 0 / 0.7709 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.7118, allocations: 20.05 kB / 0.7709 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.712, allocations: 8 kB / 0.7709 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.713, allocations: 285.4 kB / 0.7712 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.7135, allocations: 0.7036 MB / 0.7719 GB, free: 11.49 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7135, allocations: 0 / 0.7719 GB, free: 11.49 MB / 490.7 MB Notification: Performance of Templates: time 0.003349/0.7168, allocations: 0.8913 MB / 0.7728 GB, free: 10.64 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)