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-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_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.00323/0.00323, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7502/0.7502, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.5/1.5, allocations: 221.3 MB / 395 MB, free: 10.21 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.001118/0.001118, allocations: 98.59 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4933/0.4944, allocations: 88.44 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.684, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5688/1.253, allocations: 111.3 MB / 0.742 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.253, allocations: 77.42 kB / 0.7421 GB, free: 10.53 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.01439/1.268, allocations: 4.029 MB / 0.746 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.268, allocations: 7.656 kB / 0.746 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/1.268, allocations: 7.094 kB / 0.7461 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/1.268, allocations: 168.8 kB / 0.7462 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.268, allocations: 0 / 0.7462 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/1.268, allocations: 0 / 0.7462 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.77e-05/1.268, allocations: 12.31 kB / 0.7462 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/1.268, allocations: 39.23 kB / 0.7463 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/1.268, allocations: 0 / 0.7463 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.268, allocations: 3.812 kB / 0.7463 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/1.268, allocations: 0 / 0.7463 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/1.268, allocations: 136.8 kB / 0.7464 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/1.268, allocations: 30.8 kB / 0.7464 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/1.268, allocations: 16.97 kB / 0.7464 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/1.268, allocations: 0 / 0.7464 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/1.269, allocations: 46.42 kB / 0.7465 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/1.269, allocations: 0 / 0.7465 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0006015/1.269, allocations: 271 kB / 0.7467 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/1.269, allocations: 59.25 kB / 0.7468 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/1.269, allocations: 86.5 kB / 0.7469 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.269, allocations: 29.14 kB / 0.7469 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/1.269, allocations: 83.98 kB / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/1.269, allocations: 17.86 kB / 0.747 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/1.269, allocations: 0 / 0.747 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.269, allocations: 319.7 kB / 0.7473 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/1.269, allocations: 7.625 kB / 0.7473 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/1.27, allocations: 7.656 kB / 0.7473 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/1.27, allocations: 17 kB / 0.7473 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/1.27, allocations: 0 / 0.7473 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.714e-05/1.27, allocations: 66.72 kB / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.27, allocations: 4.719 kB / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.27, allocations: 0.7969 kB / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.27, allocations: 4.219 kB / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/1.27, allocations: 9.031 kB / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/1.27, allocations: 0 / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/1.27, allocations: 0.75 kB / 0.7474 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.27, allocations: 4.391 kB / 0.7474 GB, free: 24.58 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.917e-05/1.27, allocations: 105 kB / 0.7475 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/1.27, allocations: 8.406 kB / 0.7475 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/1.27, allocations: 76.33 kB / 0.7476 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.27, allocations: 0.7031 kB / 0.7476 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.27, allocations: 3.938 kB / 0.7476 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.27, allocations: 0.75 kB / 0.7476 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/1.27, allocations: 291.8 kB / 0.7479 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.27, allocations: 4.031 kB / 0.7479 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/1.27, allocations: 13.62 kB / 0.7479 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.271, allocations: 0 / 0.7479 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.271, allocations: 0.75 kB / 0.7479 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.271, allocations: 3.969 kB / 0.7479 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.271, allocations: 0 / 0.7479 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001695/1.271, allocations: 182.7 kB / 0.7481 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002662/1.271, allocations: 0.5748 MB / 0.7487 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.271, allocations: 79.83 kB / 0.7487 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/1.271, allocations: 0.6562 kB / 0.7487 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/1.271, allocations: 3.969 kB / 0.7487 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/1.271, allocations: 5.781 kB / 0.7487 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/1.271, allocations: 3.844 kB / 0.7487 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-05/1.271, allocations: 79.17 kB / 0.7488 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008068/1.272, allocations: 29.16 kB / 0.7488 GB, free: 23.25 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.0002113/1.272, allocations: 138.6 kB / 0.749 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.876e-05/1.272, allocations: 26.94 kB / 0.749 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.272, allocations: 0 / 0.749 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.031e-05/1.272, allocations: 16.05 kB / 0.749 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/1.273, allocations: 4.453 kB / 0.749 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/1.273, allocations: 134.9 kB / 0.7492 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.273, allocations: 0.7007 MB / 0.7498 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/1.273, allocations: 0 / 0.7498 GB, free: 22.31 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)