Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99.36 kB / 15.71 MB, free: 452 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.001357/0.001357, allocations: 177.1 kB / 16.58 MB, free: 6.422 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.532/1.532, allocations: 223.2 MB / 240.6 MB, free: 5.406 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.712/2.712, allocations: 390.5 MB / 0.6662 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005441, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8241, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001396/0.8255, allocations: 0.9784 MB / 0.9554 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.8264, allocations: 0.5318 MB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.8265, allocations: 1.062 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.8265, allocations: 0 / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.8266, allocations: 0 / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.8272, allocations: 125.4 kB / 0.956 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.8272, allocations: 7.562 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.8273, allocations: 1.094 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.8273, allocations: 2.469 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.8274, allocations: 14.12 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.8274, allocations: 1.125 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.8279, allocations: 335.2 kB / 0.9563 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.828, allocations: 0 / 0.9563 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.828, allocations: 26.95 kB / 0.9564 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.8282, allocations: 95.08 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8282, allocations: 5.062 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8282, allocations: 3.938 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8282, allocations: 0 / 0.9565 GB, free: 6.547 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003249/0.8286, allocations: 342.3 kB / 0.9568 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.8286, allocations: 9.469 kB / 0.9568 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.8286, allocations: 7.859 kB / 0.9568 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.8287, allocations: 164 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8288, allocations: 1.156 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.8288, allocations: 1.438 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.8289, allocations: 36.42 kB / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8289, allocations: 0 / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8289, allocations: 4 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8289, allocations: 1.469 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.829, allocations: 6.078 kB / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.8291, allocations: 149.2 kB / 0.9572 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.8292, allocations: 24.17 kB / 0.9572 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.8292, allocations: 14.77 kB / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.8292, allocations: 1.5 kB / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.8292, allocations: 38.48 kB / 0.9572 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8292, allocations: 0 / 0.9572 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.8294, allocations: 39.39 kB / 0.9573 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.8294, allocations: 51.41 kB / 0.9573 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.8295, allocations: 98.05 kB / 0.9574 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.8295, allocations: 29.83 kB / 0.9574 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.8295, allocations: 84.12 kB / 0.9575 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.8295, allocations: 8.688 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.8296, allocations: 1.531 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.8296, allocations: 314.8 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.8296, allocations: 2.094 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.8297, allocations: 5.938 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.945e-05/0.8297, allocations: 6.844 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8297, allocations: 8 kB / 0.9579 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.365e-05/0.8297, allocations: 42.12 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.8298, allocations: 5.344 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.8298, allocations: 1.438 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8298, allocations: 0 / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.83, allocations: 8.219 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002584/0.8303, allocations: 0.5898 MB / 0.9585 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.8303, allocations: 9.562 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.8303, allocations: 0 / 0.9585 GB, free: 4.332 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.8304, allocations: 107.2 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.8304, allocations: 1.406 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.8305, allocations: 53.14 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.8305, allocations: 3.953 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8305, allocations: 1.062 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8305, allocations: 4.031 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.489e-05/0.8306, allocations: 152.6 kB / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8306, allocations: 0 / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.8307, allocations: 8.438 kB / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8307, allocations: 0 / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.8307, allocations: 1.219 kB / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001882/0.8309, allocations: 0.5902 MB / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8309, allocations: 0 / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.747e-05/0.831, allocations: 63.14 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.831, allocations: 82.16 kB / 0.9595 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.831, allocations: 11.94 kB / 0.9595 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.831, allocations: 1.281 kB / 0.9595 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.831, allocations: 0 / 0.9595 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.8311, allocations: 1.25 kB / 0.9595 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.8311, allocations: 85.59 kB / 0.9596 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8311, allocations: 0 / 0.9596 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002213/0.8313, allocations: 15.12 kB / 0.9596 GB, free: 3.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.8315, allocations: 111.1 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.8317, allocations: 16.83 kB / 0.9598 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8317, allocations: 0 / 0.9598 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.8318, allocations: 20.42 kB / 0.9598 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.8319, allocations: 6.734 kB / 0.9598 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.8322, allocations: 136.1 kB / 0.9599 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.8324, allocations: 0.6757 MB / 0.9606 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.8324, allocations: 8.781 kB / 0.9606 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8324, allocations: 3.938 kB / 0.9606 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of Templates: time 0.002575/0.835, allocations: 0.6838 MB / 0.9613 GB, free: 1.781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dpCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dpCalcHelperMain.o] Error 1