Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.000823, allocations: 102.4 kB / 15.71 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 175.9 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240.6 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.755/2.755, allocations: 390.4 MB / 0.6662 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.894, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001455/0.8955, allocations: 0.9945 MB / 0.9554 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.8965, allocations: 0.5561 MB / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.8965, allocations: 4.969 kB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.8966, allocations: 0 / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.8966, allocations: 1.031 kB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.8972, allocations: 125.7 kB / 0.9561 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.8973, allocations: 20.19 kB / 0.9561 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.8973, allocations: 5.359 kB / 0.9561 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.8974, allocations: 7.703 kB / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.8974, allocations: 7.656 kB / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.8975, allocations: 5.281 kB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.898, allocations: 331.8 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.898, allocations: 5.094 kB / 0.9564 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.898, allocations: 32.14 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.8983, allocations: 103 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8983, allocations: 1.062 kB / 0.9566 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8983, allocations: 0 / 0.9566 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.8983, allocations: 0 / 0.9566 GB, free: 6.473 MB / 0.7169 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.0003766/0.8987, allocations: 348.7 kB / 0.9569 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8987, allocations: 16.91 kB / 0.9569 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.8988, allocations: 6.047 kB / 0.9569 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.8989, allocations: 167.9 kB / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.8989, allocations: 4.938 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.8989, allocations: 2.406 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.8991, allocations: 43.56 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8991, allocations: 1.25 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.8991, allocations: 0 / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8991, allocations: 1.031 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.8992, allocations: 9.703 kB / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.8993, allocations: 162.4 kB / 0.9573 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.8995, allocations: 44.61 kB / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.8996, allocations: 19.69 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.8996, allocations: 1.188 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.8996, allocations: 35.56 kB / 0.9574 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.8996, allocations: 0 / 0.9574 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006513/0.9003, allocations: 306.8 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.9003, allocations: 52.81 kB / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.9004, allocations: 108.9 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.9004, allocations: 27.23 kB / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.9004, allocations: 80.14 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.9005, allocations: 18.62 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.9005, allocations: 0 / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.9006, allocations: 324.6 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.9006, allocations: 5.812 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.9006, allocations: 15.02 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.9007, allocations: 19.34 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.9007, allocations: 0 / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001027/0.9008, allocations: 67.77 kB / 0.9584 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9008, allocations: 10.05 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9008, allocations: 192 / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.9008, allocations: 1.438 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.9009, allocations: 8.875 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9009, allocations: 5.344 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.9009, allocations: 7.938 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.9009, allocations: 1.375 kB / 0.9584 GB, free: 4.523 MB / 0.7169 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 () * Number of clocked 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.071e-05/0.901, allocations: 112 kB / 0.9585 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.901, allocations: 2.062 kB / 0.9585 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.9012, allocations: 74.3 kB / 0.9586 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9012, allocations: 1 kB / 0.9586 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9012, allocations: 4.062 kB / 0.9586 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9012, allocations: 5.469 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.9015, allocations: 315.2 kB / 0.9589 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9015, allocations: 1.469 kB / 0.9589 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.9016, allocations: 16.55 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.9016, allocations: 1.125 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.9016, allocations: 1 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9016, allocations: 1.094 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9016, allocations: 5.078 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.9018, allocations: 185.5 kB / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.9018, allocations: 79.27 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.9018, allocations: 1.469 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.9019, allocations: 1 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.902, allocations: 14.31 kB / 0.9592 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.902, allocations: 6.844 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.902, allocations: 76.72 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.902, allocations: 5.438 kB / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002544/0.9023, allocations: 18.62 kB / 0.9593 GB, free: 3.621 MB / 0.7169 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 () * Number of clocked 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.0001756/0.9024, allocations: 134.2 kB / 0.9594 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.9025, allocations: 29.91 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9026, allocations: 0.8125 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.9026, allocations: 14.95 kB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.9028, allocations: 7 kB / 0.9595 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.9032, allocations: 249.6 kB / 0.9597 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.9033, allocations: 0.6835 MB / 0.9604 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.9034, allocations: 11.66 kB / 0.9604 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9034, allocations: 0 / 0.9604 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.002494/0.9059, allocations: 0.7893 MB / 0.9611 GB, free: 2.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1