Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 180.2 kB / 7.799 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4838/0.4838, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.173/1.173, allocations: 221.4 MB / 342.8 MB, free: 5.113 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.0009591/0.0009592, allocations: 91.52 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.285e-06, allocations: 0 / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3657, allocations: 72.3 MB / 0.5529 GB, free: 73.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4866, allocations: 101.4 MB / 0.652 GB, free: 8.609 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4869, allocations: 75.95 kB / 0.652 GB, free: 8.535 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.008489/0.4954, allocations: 2.538 MB / 0.6545 GB, free: 6.031 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4955, allocations: 0 / 0.6545 GB, free: 6.031 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.0003244/0.4958, allocations: 347 kB / 0.6548 GB, free: 5.648 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4959, allocations: 9.156 kB / 0.6548 GB, free: 5.641 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.4959, allocations: 0 / 0.6548 GB, free: 5.641 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4961, allocations: 167.1 kB / 0.655 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4961, allocations: 0.625 kB / 0.655 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.4961, allocations: 3.906 kB / 0.655 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.736e-05/0.4962, allocations: 8.5 kB / 0.655 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/0.4963, allocations: 38.72 kB / 0.6551 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.4963, allocations: 0 / 0.6551 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4963, allocations: 0.9062 kB / 0.6551 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4964, allocations: 0 / 0.6551 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.4966, allocations: 136 kB / 0.6552 GB, free: 5.215 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.4967, allocations: 40.38 kB / 0.6552 GB, free: 5.172 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.4968, allocations: 12.86 kB / 0.6552 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4968, allocations: 4.844 kB / 0.6552 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4968, allocations: 31.34 kB / 0.6553 GB, free: 5.113 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.4969, allocations: 0 / 0.6553 GB, free: 5.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.000665/0.4975, allocations: 285.5 kB / 0.6555 GB, free: 4.785 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4976, allocations: 52.12 kB / 0.6556 GB, free: 4.723 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.4977, allocations: 97.52 kB / 0.6557 GB, free: 4.621 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4977, allocations: 26.64 kB / 0.6557 GB, free: 4.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.4977, allocations: 80.14 kB / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4978, allocations: 16.62 kB / 0.6558 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.4978, allocations: 0 / 0.6558 GB, free: 4.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4979, allocations: 315.4 kB / 0.6561 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.498, allocations: 17.2 kB / 0.6561 GB, free: 4.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.498, allocations: 7.984 kB / 0.6561 GB, free: 4.152 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.498, allocations: 15.94 kB / 0.6561 GB, free: 4.137 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.498, allocations: 1.031 kB / 0.6561 GB, free: 4.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.4981, allocations: 65.53 kB / 0.6562 GB, free: 4.066 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4982, allocations: 8 kB / 0.6562 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4982, allocations: 0.5625 kB / 0.6562 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4982, allocations: 0.8438 kB / 0.6562 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.4983, allocations: 8 kB / 0.6562 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4983, allocations: 0.8438 kB / 0.6562 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.4983, allocations: 0 / 0.6562 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4983, allocations: 4 kB / 0.6562 GB, free: 4.047 MB / 474.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 9.381e-05/0.4984, allocations: 112.1 kB / 0.6563 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.4985, allocations: 4 kB / 0.6563 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.4986, allocations: 68.69 kB / 0.6564 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4987, allocations: 0 / 0.6564 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4987, allocations: 0 / 0.6564 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4987, allocations: 0 / 0.6564 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.4991, allocations: 286.9 kB / 0.6567 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4991, allocations: 0 / 0.6567 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.4992, allocations: 20.8 kB / 0.6567 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4992, allocations: 4 kB / 0.6567 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4992, allocations: 0.5 kB / 0.6567 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4992, allocations: 0 / 0.6567 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4992, allocations: 4.594 kB / 0.6567 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001974/0.4994, allocations: 184.2 kB / 0.6569 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.4995, allocations: 85.09 kB / 0.657 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4995, allocations: 0.7188 kB / 0.657 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.4996, allocations: 4.562 kB / 0.657 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.4996, allocations: 1.281 kB / 0.657 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4996, allocations: 11.98 kB / 0.657 GB, free: 3.188 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.142e-05/0.4997, allocations: 75.28 kB / 0.6571 GB, free: 3.113 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.4999, allocations: 32.34 kB / 0.6571 GB, free: 3.082 MB / 474.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.0002109/0.5002, allocations: 133.2 kB / 0.6572 GB, free: 2.945 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.5003, allocations: 27.98 kB / 0.6572 GB, free: 2.918 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.5003, allocations: 4 kB / 0.6572 GB, free: 2.914 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.5003, allocations: 20.44 kB / 0.6573 GB, free: 2.895 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.5005, allocations: 8.609 kB / 0.6573 GB, free: 2.891 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.5008, allocations: 135.8 kB / 0.6574 GB, free: 2.738 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5011, allocations: 0.6958 MB / 0.6581 GB, free: 2.016 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5011, allocations: 0 / 0.6581 GB, free: 2.016 MB / 474.7 MB Notification: Performance of Templates: time 0.002946/0.5041, allocations: 0.6578 MB / 0.6587 GB, free: 1.395 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)