Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009768, allocations: 100.1 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.001471/0.001471, allocations: 176.2 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005392, allocations: 13.5 kB / 0.6743 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3351, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.11/0.4452, allocations: 104.6 MB / 0.89 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.582/1.027, allocations: 22.76 MB / 0.9123 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005344/1.033, allocations: 102.5 kB / 0.9124 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004438/1.037, allocations: 0.8916 MB / 0.9132 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/1.049, allocations: 2.843 MB / 0.916 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008795/1.058, allocations: 2.351 MB / 0.9183 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01303/1.071, allocations: 8.031 MB / 0.9262 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004197/1.075, allocations: 1.79 MB / 0.9279 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007781/1.083, allocations: 2.2 MB / 0.9301 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00822/1.091, allocations: 1.907 MB / 0.9319 GB, free: 36.04 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/1.092, allocations: 93.03 kB / 0.932 GB, free: 36.04 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007005/1.099, allocations: 1.139 MB / 0.9331 GB, free: 35.94 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/1.101, allocations: 492.6 kB / 0.9336 GB, free: 35.83 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00254/1.103, allocations: 0.5604 MB / 0.9341 GB, free: 35.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006585/1.11, allocations: 3.237 MB / 0.9373 GB, free: 35.45 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.11, allocations: 1.375 kB / 0.9373 GB, free: 35.45 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.145e-06/1.11, allocations: 0 / 0.9373 GB, free: 35.45 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001824/1.11, allocations: 0 / 0.9373 GB, free: 35.45 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006936/1.117, allocations: 2.676 MB / 0.9399 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.117, allocations: 11.7 kB / 0.9399 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/1.119, allocations: 323.3 kB / 0.9402 GB, free: 33.87 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/1.124, allocations: 2.028 MB / 0.9422 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/1.124, allocations: 125.8 kB / 0.9423 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/1.124, allocations: 168.5 kB / 0.9425 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/1.128, allocations: 1.606 MB / 0.9441 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/1.128, allocations: 4.719 kB / 0.9441 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.128, allocations: 62.38 kB / 0.9441 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/1.128, allocations: 41.88 kB / 0.9442 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/1.13, allocations: 1.145 MB / 0.9453 GB, free: 33.1 MB / 0.7169 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.01163/1.142, allocations: 7.889 MB / 0.953 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/1.143, allocations: 468.9 kB / 0.9534 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/1.143, allocations: 331.1 kB / 0.9537 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/1.144, allocations: 0.7564 MB / 0.9545 GB, free: 28.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.144, allocations: 45.55 kB / 0.9545 GB, free: 28.33 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.336e-06/1.144, allocations: 0 / 0.9545 GB, free: 28.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.00239/1.146, allocations: 0.9964 MB / 0.9555 GB, free: 28.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.146, allocations: 57.28 kB / 0.9556 GB, free: 28.01 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/1.15, allocations: 2.237 MB / 0.9577 GB, free: 27.42 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/1.15, allocations: 46.27 kB / 0.9578 GB, free: 27.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008875/1.151, allocations: 1.153 MB / 0.9589 GB, free: 26.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/1.151, allocations: 213 kB / 0.9591 GB, free: 26.78 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/1.151, allocations: 21.97 kB / 0.9591 GB, free: 26.78 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/1.151, allocations: 350.9 kB / 0.9595 GB, free: 26.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/1.152, allocations: 338.3 kB / 0.9598 GB, free: 26.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/1.152, allocations: 0.7384 MB / 0.9605 GB, free: 25.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/1.153, allocations: 469.4 kB / 0.961 GB, free: 25.85 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.153, allocations: 0 / 0.961 GB, free: 25.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002469/1.156, allocations: 1.27 MB / 0.9622 GB, free: 25.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/1.156, allocations: 349.5 kB / 0.9625 GB, free: 25.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.156, allocations: 6.875 kB / 0.9625 GB, free: 25.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/1.156, allocations: 15.28 kB / 0.9626 GB, free: 25.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/1.157, allocations: 257.6 kB / 0.9628 GB, free: 25.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/1.157, allocations: 17.38 kB / 0.9628 GB, free: 25.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.159, allocations: 252.4 kB / 0.9631 GB, free: 24.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/1.159, allocations: 54.23 kB / 0.9631 GB, free: 24.94 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.159, allocations: 4.562 kB / 0.9631 GB, free: 24.94 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/1.161, allocations: 1.025 MB / 0.9641 GB, free: 24.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.161, allocations: 10.64 kB / 0.9641 GB, free: 24.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.161, allocations: 16.53 kB / 0.9641 GB, free: 24.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/1.161, allocations: 248.5 kB / 0.9644 GB, free: 24.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.161, allocations: 16.53 kB / 0.9644 GB, free: 24.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.163, allocations: 235.4 kB / 0.9646 GB, free: 24.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/1.163, allocations: 54.3 kB / 0.9647 GB, free: 24.61 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.001215/1.165, allocations: 0.5719 MB / 0.9652 GB, free: 24.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/1.165, allocations: 231.2 kB / 0.9655 GB, free: 24.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.167, allocations: 0.8884 MB / 0.9663 GB, free: 24.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.167, allocations: 6.25 kB / 0.9663 GB, free: 24.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.167, allocations: 0 / 0.9663 GB, free: 24.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008624/1.167, allocations: 0.6986 MB / 0.967 GB, free: 23.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/1.174, allocations: 2.55 MB / 0.9695 GB, free: 22.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.174, allocations: 6.5 kB / 0.9695 GB, free: 22.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/1.174, allocations: 130.9 kB / 0.9696 GB, free: 22.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/1.174, allocations: 2.719 kB / 0.9696 GB, free: 22.81 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/1.174, allocations: 24.19 kB / 0.9697 GB, free: 22.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/1.174, allocations: 2.781 kB / 0.9697 GB, free: 22.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.174, allocations: 2.75 kB / 0.9697 GB, free: 22.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/1.177, allocations: 1.317 MB / 0.9709 GB, free: 22.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.179, allocations: 447.9 kB / 0.9714 GB, free: 22.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000662/1.179, allocations: 12.12 kB / 0.9714 GB, free: 22.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.181, allocations: 134.6 kB / 0.9715 GB, free: 22.03 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.181, allocations: 38.78 kB / 0.9715 GB, free: 22.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/1.181, allocations: 37.72 kB / 0.9716 GB, free: 22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002491/1.184, allocations: 1.489 MB / 0.973 GB, free: 21.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.9e-07/1.184, allocations: 7.188 kB / 0.973 GB, free: 21.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003974/1.188, allocations: 1.087 MB / 0.9741 GB, free: 21.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * 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.001894/1.189, allocations: 0.7126 MB / 0.9748 GB, free: 21.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002699/1.192, allocations: 1.346 MB / 0.9761 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.192, allocations: 0 / 0.9761 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005115/1.193, allocations: 332.4 kB / 0.9764 GB, free: 20.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009016/1.202, allocations: 1.395 MB / 0.9778 GB, free: 20.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/1.209, allocations: 4.423 MB / 0.9821 GB, free: 17.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/1.21, allocations: 1.571 MB / 0.9837 GB, free: 16.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/1.211, allocations: 182.9 kB / 0.9838 GB, free: 16.83 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/1.211, allocations: 0 / 0.9838 GB, free: 16.83 MB / 0.7169 GB Notification: Performance of Templates: time 0.0617/1.273, allocations: 39.1 MB / 1.022 GB, free: 12.31 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1