Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 1.03/1.03, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009011, allocations: 83.39 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.758e-06/9.788e-06, allocations: 4 kB / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 76.75 MB / 0.6209 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5223/0.7385, allocations: 102.5 MB / 0.721 GB, free: 9.828 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.7388, allocations: 75.95 kB / 0.7211 GB, free: 9.754 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.008662/0.7475, allocations: 2.673 MB / 0.7237 GB, free: 7.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.7475, allocations: 0 / 0.7237 GB, free: 7.09 MB / 490.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.000341/0.7479, allocations: 338.4 kB / 0.724 GB, free: 6.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.7479, allocations: 8.031 kB / 0.724 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.748, allocations: 4 kB / 0.724 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.7482, allocations: 174.9 kB / 0.7242 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.7482, allocations: 0 / 0.7242 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.7482, allocations: 0 / 0.7242 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.055e-05/0.7483, allocations: 12 kB / 0.7242 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.7484, allocations: 37.69 kB / 0.7243 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7484, allocations: 3.938 kB / 0.7243 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.7484, allocations: 0 / 0.7243 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7485, allocations: 3.984 kB / 0.7243 GB, free: 6.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.7486, allocations: 138.2 kB / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.7488, allocations: 33.66 kB / 0.7244 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.7489, allocations: 12.86 kB / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.7491, allocations: 101.2 kB / 0.7245 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7492, allocations: 38.56 kB / 0.7246 GB, free: 6.039 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.7492, allocations: 0 / 0.7246 GB, free: 6.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001101/0.7503, allocations: 346.2 kB / 0.7249 GB, free: 5.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.7503, allocations: 55.41 kB / 0.725 GB, free: 5.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.7504, allocations: 92.91 kB / 0.725 GB, free: 5.484 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.7504, allocations: 25.7 kB / 0.7251 GB, free: 5.453 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.7505, allocations: 84.12 kB / 0.7251 GB, free: 5.367 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.7505, allocations: 19.75 kB / 0.7252 GB, free: 5.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.7505, allocations: 0 / 0.7252 GB, free: 5.348 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.7506, allocations: 314.8 kB / 0.7255 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.7507, allocations: 19.98 kB / 0.7255 GB, free: 5.012 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.7507, allocations: 16.84 kB / 0.7255 GB, free: 4.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.7508, allocations: 12 kB / 0.7255 GB, free: 4.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.7508, allocations: 0 / 0.7255 GB, free: 4.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001374/0.7509, allocations: 73.66 kB / 0.7256 GB, free: 4.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7509, allocations: 4 kB / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7509, allocations: 0 / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.751, allocations: 3.938 kB / 0.7256 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.7511, allocations: 23.98 kB / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7512, allocations: 0 / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.7513, allocations: 23.83 kB / 0.7256 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7513, allocations: 0 / 0.7256 GB, free: 4.852 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 8.572e-05/0.7514, allocations: 105 kB / 0.7257 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.7514, allocations: 0 / 0.7257 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.7515, allocations: 4.062 kB / 0.7257 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.7515, allocations: 3.906 kB / 0.7257 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7515, allocations: 4 kB / 0.7257 GB, free: 4.734 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7515, allocations: 4 kB / 0.7258 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.752, allocations: 307.9 kB / 0.726 GB, free: 4.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.752, allocations: 3.984 kB / 0.726 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.7522, allocations: 23.98 kB / 0.7261 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7522, allocations: 7.906 kB / 0.7261 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.7522, allocations: 4.031 kB / 0.7261 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7523, allocations: 0 / 0.7261 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7523, allocations: 128 / 0.7261 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000254/0.7525, allocations: 206 kB / 0.7263 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.7526, allocations: 85.09 kB / 0.7264 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.7526, allocations: 0 / 0.7264 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.7528, allocations: 19.95 kB / 0.7264 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.7528, allocations: 4 kB / 0.7264 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.7528, allocations: 0 / 0.7264 GB, free: 3.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.985e-05/0.7529, allocations: 91.69 kB / 0.7265 GB, free: 3.902 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000238/0.7531, allocations: 12 kB / 0.7265 GB, free: 3.891 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.0001747/0.7533, allocations: 103.2 kB / 0.7266 GB, free: 3.777 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.7535, allocations: 43.92 kB / 0.7266 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7535, allocations: 0 / 0.7266 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.7535, allocations: 20 kB / 0.7266 GB, free: 3.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.7537, allocations: 4 kB / 0.7266 GB, free: 3.711 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.7543, allocations: 177.7 kB / 0.7268 GB, free: 3.512 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.7546, allocations: 0.7036 MB / 0.7275 GB, free: 2.781 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7546, allocations: 0 / 0.7275 GB, free: 2.781 MB / 490.7 MB Notification: Performance of Templates: time 0.002922/0.7576, allocations: 0.784 MB / 0.7283 GB, free: 2.031 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)