Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 191.3 kB / 7.806 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4515/0.4515, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 342.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.000976, allocations: 89.12 kB / 415.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.974e-06/6.994e-06, allocations: 0 / 493.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3434, allocations: 72.29 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4611, allocations: 102.3 MB / 0.6528 GB, free: 6.301 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4613, allocations: 76.98 kB / 0.6529 GB, free: 6.227 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01302/0.4744, allocations: 3.958 MB / 0.6568 GB, free: 2.273 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4744, allocations: 4 kB / 0.6568 GB, free: 2.27 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004572/0.4749, allocations: 374.1 kB / 0.6571 GB, free: 1.859 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4749, allocations: 12.02 kB / 0.6571 GB, free: 1.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.475, allocations: 7.906 kB / 0.6572 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4751, allocations: 167.1 kB / 0.6573 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.4752, allocations: 0 / 0.6573 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4752, allocations: 11.89 kB / 0.6573 GB, free: 1.625 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.753e-05/0.4753, allocations: 28 kB / 0.6573 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4754, allocations: 61.61 kB / 0.6574 GB, free: 1.531 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4755, allocations: 5.5 kB / 0.6574 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4755, allocations: 0 / 0.6574 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4755, allocations: 4 kB / 0.6574 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.476, allocations: 301.2 kB / 0.6577 GB, free: 1.191 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.4761, allocations: 33.72 kB / 0.6577 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.4762, allocations: 24.8 kB / 0.6578 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4762, allocations: 4 kB / 0.6578 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4762, allocations: 34.55 kB / 0.6578 GB, free: 1.078 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4762, allocations: 0 / 0.6578 GB, free: 1.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009232/0.4772, allocations: 0.5187 MB / 0.6583 GB, free: 480 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4772, allocations: 55.39 kB / 0.6584 GB, free: 412 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.4773, allocations: 93 kB / 0.6584 GB, free: 312 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4773, allocations: 30.36 kB / 0.6585 GB, free: 276 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.4773, allocations: 88.05 kB / 0.6586 GB, free: 184 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4774, allocations: 35.45 kB / 0.6586 GB, free: 148 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.4774, allocations: 0 / 0.6586 GB, free: 148 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4776, allocations: 326.8 kB / 0.6589 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.4776, allocations: 20 kB / 0.6589 GB, free: 15.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.4776, allocations: 19.94 kB / 0.6589 GB, free: 15.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.4777, allocations: 25.11 kB / 0.659 GB, free: 15.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4777, allocations: 3.906 kB / 0.659 GB, free: 15.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001429/0.4779, allocations: 87.81 kB / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4779, allocations: 4 kB / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4779, allocations: 3.359 kB / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4779, allocations: 7.906 kB / 0.6591 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4781, allocations: 31.97 kB / 0.6591 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.4781, allocations: 0 / 0.6591 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.4782, allocations: 12 kB / 0.6591 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4782, allocations: 3.938 kB / 0.6591 GB, free: 15.6 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.467e-05/0.4783, allocations: 108.9 kB / 0.6592 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.4783, allocations: 11.91 kB / 0.6592 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.4785, allocations: 96.16 kB / 0.6593 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4786, allocations: 4 kB / 0.6593 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4786, allocations: 0 / 0.6593 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4786, allocations: 3.984 kB / 0.6593 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.4789, allocations: 331.7 kB / 0.6596 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4789, allocations: 4 kB / 0.6596 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.4791, allocations: 28.64 kB / 0.6597 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4791, allocations: 0 / 0.6597 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4792, allocations: 7.984 kB / 0.6597 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4792, allocations: 0 / 0.6597 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4792, allocations: 0 / 0.6597 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002424/0.4794, allocations: 225.1 kB / 0.6599 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.4795, allocations: 77.3 kB / 0.66 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.4795, allocations: 1.125 kB / 0.66 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4796, allocations: 20.03 kB / 0.66 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.4797, allocations: 7.906 kB / 0.66 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4797, allocations: 0 / 0.66 GB, free: 14.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.67e-05/0.4797, allocations: 87.27 kB / 0.6601 GB, free: 14.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.48, allocations: 39.94 kB / 0.6601 GB, free: 14.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002569/0.4803, allocations: 139.1 kB / 0.6603 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.4805, allocations: 63.94 kB / 0.6603 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4805, allocations: 0 / 0.6603 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.4805, allocations: 35.92 kB / 0.6603 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.4807, allocations: 9.172 kB / 0.6604 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.4813, allocations: 229.3 kB / 0.6606 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.4816, allocations: 0.7114 MB / 0.6613 GB, free: 13.25 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.4816, allocations: 0 / 0.6613 GB, free: 13.25 MB / 490.7 MB Notification: Performance of Templates: time 0.003785/0.4854, allocations: 1.24 MB / 0.6625 GB, free: 12.06 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)