Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.12 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.001806/0.001806, allocations: 176.5 kB / 16.58 MB, free: 6.871 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.724/1.724, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.862/2.862, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 8 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8524, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001318/0.8538, allocations: 0.983 MB / 1.023 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.8547, allocations: 0.5299 MB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.8547, allocations: 4 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.8548, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.8548, allocations: 7.969 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.8553, allocations: 111.6 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.911e-05/0.8553, allocations: 11.94 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.8554, allocations: 7.984 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.8554, allocations: 4 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.8555, allocations: 7.938 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.8555, allocations: 0 / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.856, allocations: 339.2 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-06/0.856, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.8561, allocations: 25.7 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.8563, allocations: 97.8 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.8563, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.756e-06/0.8563, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8563, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 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.0005175/0.8568, allocations: 351.3 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.8569, allocations: 15.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.857, allocations: 7.984 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.8572, allocations: 159.1 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.8572, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.8572, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.8574, allocations: 33.64 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8574, allocations: 7.938 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8574, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8574, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.8574, allocations: 3.984 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.8577, allocations: 153.7 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/0.8577, allocations: 26.67 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.8578, allocations: 12.78 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.8578, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.8578, allocations: 42.52 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 4.148e-06/0.8578, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.858, allocations: 45.58 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.8581, allocations: 51.41 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.8582, allocations: 97.84 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.8582, allocations: 25.7 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.8582, allocations: 80.14 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.8583, allocations: 11.84 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.8583, allocations: 4.25 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8585, allocations: 314.8 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.8585, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-06/0.8585, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.8585, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8585, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.175e-05/0.8586, allocations: 45.62 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8586, allocations: 8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.8586, allocations: 3.953 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8586, allocations: 4.094 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.8588, allocations: 11.98 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004048/0.8593, allocations: 0.5782 MB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.8593, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.8593, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 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 0.0001093/0.8594, allocations: 127.9 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.8594, allocations: 3.906 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.8596, allocations: 44.81 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8596, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8596, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.8596, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.8597, allocations: 149.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8597, allocations: 3.953 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.8598, allocations: 8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8598, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.8598, allocations: 4.031 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003325/0.8602, allocations: 0.5899 MB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8602, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.611e-05/0.8603, allocations: 65.09 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.8603, allocations: 85.22 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.8603, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.8604, allocations: 3.938 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.8604, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.8604, allocations: 3.938 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.8604, allocations: 75.28 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8604, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002352/0.8607, allocations: 8 kB / 1.027 GB, free: 11.39 MB / 0.7794 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.000242/0.8609, allocations: 121.7 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.8611, allocations: 19.98 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8611, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.8612, allocations: 11.98 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.8614, allocations: 3.953 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.8618, allocations: 137 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.8621, allocations: 0.677 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.8622, allocations: 11.38 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8622, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.002547/0.8647, allocations: 0.6971 MB / 1.029 GB, free: 9.656 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o] Error 1