Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 102.1 kB / 15.71 MB, free: 460 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.00193/0.00193, allocations: 177.7 kB / 16.58 MB, free: 6.863 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.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 436.7 MB / 0.7113 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 12 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8746, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1464/1.021, allocations: 142.7 MB / 1.161 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04411/1.065, allocations: 28.63 MB / 1.189 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007328/1.073, allocations: 119.2 kB / 1.189 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00385/1.076, allocations: 0.6905 MB / 1.19 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009026/1.086, allocations: 2.513 MB / 1.192 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006006/1.092, allocations: 2.004 MB / 1.194 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009359/1.101, allocations: 6.252 MB / 1.2 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/1.105, allocations: 1.671 MB / 1.202 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/1.112, allocations: 2.212 MB / 1.204 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/1.116, allocations: 1.797 MB / 1.206 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006283/1.116, allocations: 100 kB / 1.206 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/1.119, allocations: 0.8501 MB / 1.207 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005799/1.12, allocations: 426 kB / 1.207 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/1.121, allocations: 464.5 kB / 1.208 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/1.124, allocations: 2.414 MB / 1.21 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.124, allocations: 0 / 1.21 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/1.124, allocations: 0 / 1.21 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.875e-05/1.125, allocations: 0 / 1.21 GB, free: 15.84 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004781/1.129, allocations: 2.375 MB / 1.212 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.129, allocations: 8.031 kB / 1.212 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/1.13, allocations: 264.8 kB / 1.213 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/1.132, allocations: 1.362 MB / 1.214 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/1.132, allocations: 102.3 kB / 1.214 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.133, allocations: 140 kB / 1.214 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/1.135, allocations: 1.156 MB / 1.215 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.135, allocations: 7.938 kB / 1.215 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.135, allocations: 51.94 kB / 1.215 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/1.135, allocations: 28 kB / 1.215 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/1.137, allocations: 1.013 MB / 1.216 GB, free: 9.176 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/1.148, allocations: 6.344 MB / 1.223 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.149, allocations: 0.585 MB / 1.223 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/1.15, allocations: 387.8 kB / 1.223 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/1.15, allocations: 0.507 MB / 1.224 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/1.15, allocations: 39.12 kB / 1.224 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00221/1.153, allocations: 338.8 kB / 1.224 GB, free: 408 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=58): time 5.009e-06/1.153, allocations: 0 / 1.224 GB, free: 408 kB / 0.9669 GB Notification: Performance of matching and sorting (n=58): time 0.002371/1.155, allocations: 1.133 MB / 1.225 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.155, allocations: 59.97 kB / 1.226 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/1.158, allocations: 1.877 MB / 1.227 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.158, allocations: 45.7 kB / 1.227 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/1.159, allocations: 0.9184 MB / 1.228 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/1.159, allocations: 201 kB / 1.228 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/1.159, allocations: 24 kB / 1.228 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.159, allocations: 353.9 kB / 1.229 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/1.16, allocations: 414.4 kB / 1.229 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009525/1.161, allocations: 0.641 MB / 1.23 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/1.162, allocations: 0.4905 MB / 1.23 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.162, allocations: 0 / 1.23 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002349/1.164, allocations: 1.342 MB / 1.232 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.164, allocations: 187.6 kB / 1.232 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.164, allocations: 8 kB / 1.232 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.164, allocations: 8 kB / 1.232 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.165, allocations: 283.5 kB / 1.232 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/1.165, allocations: 15.89 kB / 1.232 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.167, allocations: 147.6 kB / 1.232 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.167, allocations: 63.95 kB / 1.232 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.167, allocations: 4 kB / 1.232 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/1.169, allocations: 1.112 MB / 1.233 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.169, allocations: 3.984 kB / 1.233 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.169, allocations: 12 kB / 1.233 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.17, allocations: 271.6 kB / 1.234 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.17, allocations: 11.94 kB / 1.234 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.172, allocations: 149.9 kB / 1.234 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/1.172, allocations: 55.95 kB / 1.234 GB, free: 6.406 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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 0.0008139/1.173, allocations: 448.7 kB / 1.234 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/1.173, allocations: 197.5 kB / 1.235 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/1.175, allocations: 1.079 MB / 1.236 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/1.175, allocations: 8 kB / 1.236 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.175, allocations: 0 / 1.236 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.175, allocations: 7.984 kB / 1.236 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/1.179, allocations: 2.406 MB / 1.238 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.179, allocations: 192 / 1.238 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/1.18, allocations: 143.8 kB / 1.238 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.18, allocations: 4 kB / 1.238 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/1.18, allocations: 23.98 kB / 1.238 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.18, allocations: 7.953 kB / 1.238 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.18, allocations: 7.938 kB / 1.238 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/1.181, allocations: 1.051 MB / 1.239 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/1.182, allocations: 382.1 kB / 1.239 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.182, allocations: 12 kB / 1.24 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/1.183, allocations: 99.75 kB / 1.24 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.183, allocations: 56.48 kB / 1.24 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/1.183, allocations: 23.98 kB / 1.24 GB, free: 332 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001805/1.185, allocations: 1.233 MB / 1.241 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.241 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002121/1.187, allocations: 0.8926 MB / 1.242 GB, free: 14.18 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006495/1.188, allocations: 338.8 kB / 1.242 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002765/1.19, allocations: 1.552 MB / 1.244 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.19, allocations: 0 / 1.244 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006044/1.191, allocations: 399.5 kB / 1.244 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/1.196, allocations: 1.131 MB / 1.245 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/1.202, allocations: 3.576 MB / 1.249 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/1.203, allocations: 1.401 MB / 1.25 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/1.203, allocations: 167.4 kB / 1.25 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.203, allocations: 0 / 1.25 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of Templates: time 0.601/1.804, allocations: 30.78 MB / 1.28 GB, free: 217.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterizationCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterizationCalcHelperMain.o] Error 1