Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002008/0.002008, allocations: 178.3 kB / 7.457 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5931/0.5931, allocations: 133.5 MB / 141.4 MB, free: 15.62 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.106/1.106, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008358/0.0008358, allocations: 99.47 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.881e-06, allocations: 3.562 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.4011, allocations: 112.1 MB / 0.7427 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.4013, allocations: 76.94 kB / 0.7428 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01072/0.412, allocations: 3.968 MB / 0.7467 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.412, allocations: 3.812 kB / 0.7467 GB, free: 10.56 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003631/0.4124, allocations: 371 kB / 0.747 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.4124, allocations: 12.09 kB / 0.747 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.4125, allocations: 3.906 kB / 0.747 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4126, allocations: 164.2 kB / 0.7472 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4126, allocations: 3.812 kB / 0.7472 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.4126, allocations: 8.5 kB / 0.7472 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.641e-05/0.4127, allocations: 30.72 kB / 0.7472 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.4128, allocations: 62.8 kB / 0.7473 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4128, allocations: 3.25 kB / 0.7473 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4128, allocations: 3.938 kB / 0.7473 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4128, allocations: 3.812 kB / 0.7473 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.4133, allocations: 297.3 kB / 0.7476 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.4133, allocations: 42.56 kB / 0.7476 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.4134, allocations: 16.23 kB / 0.7476 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.4134, allocations: 0.75 kB / 0.7476 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4134, allocations: 34.56 kB / 0.7477 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.4134, allocations: 3.906 kB / 0.7477 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0007088/0.4141, allocations: 0.5133 MB / 0.7482 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.4142, allocations: 59.28 kB / 0.7482 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.4142, allocations: 93.67 kB / 0.7483 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4142, allocations: 29.7 kB / 0.7484 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.4143, allocations: 89.58 kB / 0.7484 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.4143, allocations: 37.28 kB / 0.7485 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.4143, allocations: 0 / 0.7485 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4144, allocations: 316.9 kB / 0.7488 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.4145, allocations: 17.38 kB / 0.7488 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.4145, allocations: 23.31 kB / 0.7488 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.4145, allocations: 22.61 kB / 0.7488 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4145, allocations: 0 / 0.7488 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001173/0.4147, allocations: 93.42 kB / 0.7489 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.4147, allocations: 8.422 kB / 0.7489 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4147, allocations: 272 / 0.7489 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4147, allocations: 0 / 0.7489 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.4149, allocations: 32.61 kB / 0.749 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.4149, allocations: 7.984 kB / 0.749 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.4149, allocations: 17.36 kB / 0.749 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.415, allocations: 12.25 kB / 0.749 GB, free: 24.49 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 (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 6.159e-05/0.415, allocations: 101.7 kB / 0.7491 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.4151, allocations: 7.75 kB / 0.7491 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.4152, allocations: 103.6 kB / 0.7492 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4152, allocations: 4.484 kB / 0.7492 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4153, allocations: 0 / 0.7492 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4153, allocations: 0.6562 kB / 0.7492 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.4156, allocations: 331 kB / 0.7495 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4156, allocations: 3.969 kB / 0.7495 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4157, allocations: 24.31 kB / 0.7496 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4157, allocations: 0.6094 kB / 0.7496 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4158, allocations: 8.391 kB / 0.7496 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4158, allocations: 0 / 0.7496 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4158, allocations: 0.75 kB / 0.7496 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001847/0.416, allocations: 219.4 kB / 0.7498 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.416, allocations: 85.66 kB / 0.7499 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.416, allocations: 0 / 0.7499 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.4161, allocations: 9.328 kB / 0.7499 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.4162, allocations: 6.125 kB / 0.7499 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.4162, allocations: 4.656 kB / 0.7499 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.404e-05/0.4162, allocations: 84.02 kB / 0.75 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002339/0.4165, allocations: 48.22 kB / 0.75 GB, free: 23.72 MB / 0.5105 GB 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.0001628/0.4166, allocations: 140.8 kB / 0.7501 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.4167, allocations: 61.81 kB / 0.7502 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4167, allocations: 3.25 kB / 0.7502 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.4168, allocations: 35.09 kB / 0.7502 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.4169, allocations: 0.7031 kB / 0.7502 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.4173, allocations: 221.8 kB / 0.7504 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4176, allocations: 0.713 MB / 0.7511 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.4176, allocations: 0 / 0.7511 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.002933/0.4205, allocations: 1.255 MB / 0.7524 GB, free: 22.64 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)