Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [: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.002839/0.002839, allocations: 181.9 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6882/0.6882, allocations: 133.5 MB / 141.4 MB, free: 15.74 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.462/1.462, allocations: 221.3 MB / 395 MB, free: 10.19 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.001105/0.001105, allocations: 106.9 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4428/0.444, allocations: 88.42 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.6154, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5467/1.162, allocations: 111.2 MB / 0.7419 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.162, allocations: 80.22 kB / 0.742 GB, free: 11.04 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.008047/1.17, allocations: 2.867 MB / 0.7448 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.17, allocations: 16.66 kB / 0.7448 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/1.171, allocations: 3.906 kB / 0.7448 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.171, allocations: 160.9 kB / 0.745 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.171, allocations: 3.812 kB / 0.745 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/1.171, allocations: 3.938 kB / 0.745 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.834e-05/1.171, allocations: 12.47 kB / 0.745 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/1.171, allocations: 35.98 kB / 0.745 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.171, allocations: 0 / 0.745 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.171, allocations: 0 / 0.745 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.171, allocations: 0 / 0.745 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/1.171, allocations: 149.1 kB / 0.7452 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/1.171, allocations: 28.66 kB / 0.7452 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/1.171, allocations: 16.23 kB / 0.7452 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/1.171, allocations: 0 / 0.7452 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.171, allocations: 42.39 kB / 0.7452 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/1.171, allocations: 0 / 0.7452 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005234/1.172, allocations: 286.1 kB / 0.7455 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/1.172, allocations: 51.41 kB / 0.7456 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/1.172, allocations: 92.19 kB / 0.7457 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/1.172, allocations: 29.64 kB / 0.7457 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/1.172, allocations: 81.55 kB / 0.7458 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/1.172, allocations: 21.11 kB / 0.7458 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.172, allocations: 0 / 0.7458 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.172, allocations: 316.2 kB / 0.7461 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/1.172, allocations: 11.25 kB / 0.7461 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/1.172, allocations: 7.656 kB / 0.7461 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/1.172, allocations: 17.47 kB / 0.7461 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/1.172, allocations: 0 / 0.7461 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.254e-05/1.172, allocations: 56.53 kB / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.172, allocations: 10.38 kB / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/1.172, allocations: 0 / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/1.172, allocations: 0 / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/1.172, allocations: 13.23 kB / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/1.172, allocations: 1.5 kB / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/1.173, allocations: 4 kB / 0.7462 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.173, allocations: 7.75 kB / 0.7462 GB, free: 25.16 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 6.884e-05/1.173, allocations: 104.8 kB / 0.7463 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/1.173, allocations: 3.906 kB / 0.7463 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/1.173, allocations: 67.73 kB / 0.7464 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.173, allocations: 3.969 kB / 0.7464 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.173, allocations: 0 / 0.7464 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.173, allocations: 0 / 0.7464 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/1.173, allocations: 296 kB / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.173, allocations: 0 / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/1.173, allocations: 10.3 kB / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.173, allocations: 3.812 kB / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.173, allocations: 3.938 kB / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.173, allocations: 0 / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.173, allocations: 0 / 0.7467 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001706/1.173, allocations: 193.3 kB / 0.7469 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003155/1.174, allocations: 0.5632 MB / 0.7474 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/1.174, allocations: 86.33 kB / 0.7475 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.174, allocations: 4 kB / 0.7475 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/1.174, allocations: 1.5 kB / 0.7475 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/1.174, allocations: 5.375 kB / 0.7475 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/1.174, allocations: 0 / 0.7475 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.499e-05/1.174, allocations: 79.12 kB / 0.7476 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008098/1.175, allocations: 36.3 kB / 0.7476 GB, free: 23.82 MB / 0.5105 GB 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.0002161/1.175, allocations: 131 kB / 0.7477 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.192e-05/1.175, allocations: 31.14 kB / 0.7478 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.175, allocations: 0 / 0.7478 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/1.175, allocations: 18.94 kB / 0.7478 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/1.175, allocations: 3.844 kB / 0.7478 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/1.176, allocations: 124.9 kB / 0.7479 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/1.176, allocations: 0.7041 MB / 0.7486 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.176, allocations: 3.781 kB / 0.7486 GB, free: 22.89 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)