Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.9643/0.9643, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001683/0.001683, allocations: 169.3 kB / 164.4 MB, free: 6.883 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.813/1.813, allocations: 205.1 MB / 399.1 MB, free: 6.059 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.0009693/0.0009692, allocations: 94.27 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.407e-06/9.437e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.195, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5313/0.7263, allocations: 103.4 MB / 0.7219 GB, free: 8.914 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.7266, allocations: 94.28 kB / 0.722 GB, free: 8.824 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01337/0.74, allocations: 4.204 MB / 0.7261 GB, free: 4.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.7401, allocations: 0 / 0.7261 GB, free: 4.629 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004677/0.7406, allocations: 374.2 kB / 0.7265 GB, free: 4.219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.7406, allocations: 12.03 kB / 0.7265 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.7407, allocations: 3.906 kB / 0.7265 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.7408, allocations: 170.9 kB / 0.7267 GB, free: 3.996 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.7409, allocations: 4 kB / 0.7267 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.7409, allocations: 4 kB / 0.7267 GB, free: 3.988 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/0.741, allocations: 35.98 kB / 0.7267 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.7411, allocations: 61.67 kB / 0.7268 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7412, allocations: 0 / 0.7268 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7412, allocations: 0 / 0.7268 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.7412, allocations: 0 / 0.7268 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.7418, allocations: 301.1 kB / 0.727 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.7419, allocations: 41.69 kB / 0.7271 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.7419, allocations: 20.86 kB / 0.7271 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.7422, allocations: 97.09 kB / 0.7272 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.7422, allocations: 34.56 kB / 0.7272 GB, free: 3.328 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7422, allocations: 0 / 0.7272 GB, free: 3.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.003381/0.7456, allocations: 0.7911 MB / 0.728 GB, free: 2.445 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.7457, allocations: 51.41 kB / 0.7281 GB, free: 2.383 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.7458, allocations: 97 kB / 0.7281 GB, free: 2.281 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.7458, allocations: 25.7 kB / 0.7282 GB, free: 2.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.7458, allocations: 88.12 kB / 0.7283 GB, free: 2.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.7459, allocations: 39.36 kB / 0.7283 GB, free: 2.121 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.7459, allocations: 0 / 0.7283 GB, free: 2.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.746, allocations: 314.8 kB / 0.7286 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.7461, allocations: 28 kB / 0.7286 GB, free: 1.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.7462, allocations: 32.11 kB / 0.7286 GB, free: 1.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.7462, allocations: 32.48 kB / 0.7287 GB, free: 1.715 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.7462, allocations: 4 kB / 0.7287 GB, free: 1.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000206/0.7465, allocations: 111.9 kB / 0.7288 GB, free: 1.598 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7465, allocations: 4 kB / 0.7288 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7465, allocations: 0 / 0.7288 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.7465, allocations: 0 / 0.7288 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.7469, allocations: 55.95 kB / 0.7288 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7469, allocations: 256 / 0.7288 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.7471, allocations: 23.92 kB / 0.7289 GB, free: 1.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.7472, allocations: 3.984 kB / 0.7289 GB, free: 1.512 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.173e-05/0.7473, allocations: 109 kB / 0.729 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.7473, allocations: 7.906 kB / 0.729 GB, free: 1.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.7474, allocations: 8.062 kB / 0.729 GB, free: 1.387 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.7474, allocations: 3.938 kB / 0.729 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7474, allocations: 0 / 0.729 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7474, allocations: 7.844 kB / 0.729 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.7479, allocations: 355.1 kB / 0.7293 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7479, allocations: 0 / 0.7293 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.7483, allocations: 51.95 kB / 0.7294 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.7483, allocations: 3.906 kB / 0.7294 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.7484, allocations: 4 kB / 0.7294 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.7484, allocations: 7.922 kB / 0.7294 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7484, allocations: 0 / 0.7294 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003928/0.7488, allocations: 251.3 kB / 0.7296 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.7488, allocations: 85.02 kB / 0.7297 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.7489, allocations: 0 / 0.7297 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.7492, allocations: 19.98 kB / 0.7297 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.7492, allocations: 7.984 kB / 0.7298 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.7492, allocations: 16.05 kB / 0.7298 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.804e-05/0.7493, allocations: 75.28 kB / 0.7298 GB, free: 448 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.7496, allocations: 24 kB / 0.7299 GB, free: 424 kB / 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.0002261/0.7498, allocations: 107.5 kB / 0.73 GB, free: 304 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.7501, allocations: 84.03 kB / 0.73 GB, free: 220 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7501, allocations: 0 / 0.73 GB, free: 220 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.7502, allocations: 47.92 kB / 0.7301 GB, free: 172 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.7504, allocations: 5.625 kB / 0.7301 GB, free: 168 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.7517, allocations: 349 kB / 0.7304 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.7522, allocations: 0.7231 MB / 0.7311 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.7522, allocations: 0 / 0.7311 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.004487/0.7567, allocations: 1.496 MB / 0.7326 GB, free: 13.58 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)