Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.003946/0.003946, allocations: 178.6 kB / 7.454 MB, free: 2.457 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6674/0.6674, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.4 MB / 391.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 101.2 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.096e-05/1.099e-05, allocations: 2.844 kB / 0.5479 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6811, allocations: 111.1 MB / 0.7361 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.6814, allocations: 73.52 kB / 0.7361 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01082/0.6922, allocations: 3.695 MB / 0.7397 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6923, allocations: 3.938 kB / 0.7397 GB, free: 11.16 MB / 0.4948 GB 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.0003869/0.6927, allocations: 334.8 kB / 0.7401 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.6927, allocations: 13.69 kB / 0.7401 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.6928, allocations: 7.75 kB / 0.7401 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.693, allocations: 159.1 kB / 0.7402 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.693, allocations: 0 / 0.7402 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.693, allocations: 5.219 kB / 0.7402 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.6931, allocations: 11.25 kB / 0.7403 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.6932, allocations: 36.95 kB / 0.7403 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6933, allocations: 3.938 kB / 0.7403 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.6933, allocations: 3.938 kB / 0.7403 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6933, allocations: 0 / 0.7403 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.6936, allocations: 140.9 kB / 0.7404 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.6938, allocations: 30.62 kB / 0.7405 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.6938, allocations: 13.47 kB / 0.7405 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.6939, allocations: 3.812 kB / 0.7405 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.6939, allocations: 37.91 kB / 0.7405 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.6939, allocations: 0 / 0.7405 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0006596/0.6946, allocations: 279.3 kB / 0.7408 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.6946, allocations: 51.41 kB / 0.7408 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.6947, allocations: 93.81 kB / 0.7409 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.6948, allocations: 25.7 kB / 0.7409 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.6948, allocations: 80.14 kB / 0.741 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.6948, allocations: 24.69 kB / 0.741 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.6949, allocations: 0 / 0.741 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.695, allocations: 316.6 kB / 0.7413 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.6951, allocations: 6.875 kB / 0.7414 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.6951, allocations: 10.69 kB / 0.7414 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.6951, allocations: 13.19 kB / 0.7414 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6951, allocations: 0 / 0.7414 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.6953, allocations: 66.47 kB / 0.7414 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6953, allocations: 7.688 kB / 0.7414 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6953, allocations: 0 / 0.7414 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6953, allocations: 0 / 0.7414 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.6954, allocations: 9.766 kB / 0.7415 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6954, allocations: 5.359 kB / 0.7415 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.6954, allocations: 4 kB / 0.7415 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6954, allocations: 0 / 0.7415 GB, free: 25.43 MB / 0.5105 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 (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.671e-05/0.6955, allocations: 104.9 kB / 0.7416 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.6956, allocations: 7.75 kB / 0.7416 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.6957, allocations: 78.89 kB / 0.7416 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6957, allocations: 0 / 0.7416 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6957, allocations: 7.844 kB / 0.7417 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.6958, allocations: 0 / 0.7417 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.6961, allocations: 282.5 kB / 0.7419 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6961, allocations: 3.875 kB / 0.7419 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.6962, allocations: 16.7 kB / 0.7419 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6962, allocations: 0 / 0.7419 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6963, allocations: 5.547 kB / 0.7419 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6963, allocations: 0 / 0.7419 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6963, allocations: 0 / 0.7419 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001925/0.6965, allocations: 184.2 kB / 0.7421 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.6965, allocations: 86.47 kB / 0.7422 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.6966, allocations: 1.594 kB / 0.7422 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.6966, allocations: 3.969 kB / 0.7422 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.6967, allocations: 4.828 kB / 0.7422 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.6967, allocations: 3.875 kB / 0.7422 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.254e-05/0.6967, allocations: 76.27 kB / 0.7423 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002587/0.697, allocations: 36.5 kB / 0.7423 GB, free: 24.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002229/0.6972, allocations: 123.5 kB / 0.7424 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.6973, allocations: 28.06 kB / 0.7425 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6973, allocations: 3.844 kB / 0.7425 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.6973, allocations: 17.81 kB / 0.7425 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.6975, allocations: 6.844 kB / 0.7425 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.6978, allocations: 132.2 kB / 0.7426 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.6981, allocations: 0.692 MB / 0.7433 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.6981, allocations: 3.812 kB / 0.7433 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.003152/0.7013, allocations: 0.6383 MB / 0.7439 GB, free: 23.63 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)