Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [: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 8.1.4-maint.8.1.x/package.mo): time 1.461/1.461, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 188.2 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.2 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009855/0.0009853, allocations: 94.34 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.046e-06/9.077e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/0.5641, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.7299, allocations: 138.7 MB / 1.108 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.7302, allocations: 79.89 kB / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01016/0.7404, allocations: 3.09 MB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.7405, allocations: 0 / 1.111 GB, free: 6.625 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002829/0.7408, allocations: 334.4 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7408, allocations: 12.03 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.7408, allocations: 0 / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.741, allocations: 170.9 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.741, allocations: 0 / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.741, allocations: 0 / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.079e-05/0.741, allocations: 4 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.056e-05/0.7411, allocations: 29.7 kB / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7411, allocations: 3.984 kB / 1.112 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.7411, allocations: 0 / 1.112 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.7411, allocations: 0.5 kB / 1.112 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.7413, allocations: 138.1 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.7413, allocations: 22.61 kB / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.7413, allocations: 12.86 kB / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.7414, allocations: 0 / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.7414, allocations: 30.56 kB / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 6.52e-07/0.7414, allocations: 0 / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001132/0.7415, allocations: 41.69 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.7416, allocations: 55.44 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.7416, allocations: 85 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.7416, allocations: 25.7 kB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.7417, allocations: 88.08 kB / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.7417, allocations: 7.906 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.7417, allocations: 0 / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7418, allocations: 316.5 kB / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.7418, allocations: 4 kB / 1.112 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.7418, allocations: 4.125 kB / 1.112 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.572e-05/0.7419, allocations: 4 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7419, allocations: 3.938 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.796e-05/0.7419, allocations: 38.11 kB / 1.112 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.7419, allocations: 4 kB / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.7419, allocations: 0 / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.742, allocations: 0 / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.7421, allocations: 15.98 kB / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004329/0.7425, allocations: 0.5899 MB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.7426, allocations: 0.5 kB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.7426, allocations: 0 / 1.113 GB, free: 4.395 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.7427, allocations: 105.5 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.7427, allocations: 7.906 kB / 1.113 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.7428, allocations: 49.05 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.7428, allocations: 0 / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7428, allocations: 0.6875 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7428, allocations: 6.234 kB / 1.113 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.213e-05/0.7429, allocations: 126.2 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7429, allocations: 0 / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.743, allocations: 15.98 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.743, allocations: 0 / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.743, allocations: 3.906 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003074/0.7433, allocations: 0.5899 MB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7433, allocations: 0 / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.98e-05/0.7434, allocations: 65.06 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.7434, allocations: 77.11 kB / 1.114 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.7435, allocations: 4 kB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.7435, allocations: 128 / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.7435, allocations: 7.906 kB / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.7435, allocations: 0 / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.722e-05/0.7435, allocations: 75.28 kB / 1.114 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001868/0.7437, allocations: 27.86 kB / 1.114 GB, free: 3.133 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.7439, allocations: 107.2 kB / 1.114 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.7441, allocations: 19.94 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7441, allocations: 4.156 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.7442, allocations: 15.98 kB / 1.114 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.286e-05/0.7443, allocations: 2.734 kB / 1.114 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/0.7444, allocations: 53.7 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.7447, allocations: 0.6841 MB / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.7447, allocations: 0 / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of Templates: time 0.002044/0.7467, allocations: 425.5 kB / 1.115 GB, free: 1.805 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)