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.001171/0.001171, allocations: 91.92 kB / 16.02 MB, free: 80 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.001382/0.001382, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.916/1.916, allocations: 205.4 MB / 223.1 MB, free: 5.457 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.895/1.895, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005984/0.0005985, allocations: 15.75 kB / 0.675 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.372, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1205/0.4925, allocations: 110.7 MB / 0.8966 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7297/1.222, allocations: 24.22 MB / 0.9203 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006027/1.228, allocations: 109.8 kB / 0.9204 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/1.233, allocations: 1.038 MB / 0.9214 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01435/1.248, allocations: 3.346 MB / 0.9247 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/1.258, allocations: 2.83 MB / 0.9274 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01743/1.276, allocations: 9.433 MB / 0.9367 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005426/1.281, allocations: 2.052 MB / 0.9387 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007765/1.289, allocations: 2.292 MB / 0.9409 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005984/1.295, allocations: 2.017 MB / 0.9429 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008011/1.296, allocations: 101.6 kB / 0.943 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005946/1.302, allocations: 1.427 MB / 0.9444 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.303, allocations: 0.5067 MB / 0.9449 GB, free: 32.95 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004883/1.308, allocations: 1.319 MB / 0.9461 GB, free: 32.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005513/1.313, allocations: 3.285 MB / 0.9494 GB, free: 32.21 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.313, allocations: 0 / 0.9494 GB, free: 32.21 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/1.313, allocations: 0 / 0.9494 GB, free: 32.21 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001075/1.313, allocations: 0 / 0.9494 GB, free: 32.21 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.005669/1.319, allocations: 2.654 MB / 0.9519 GB, free: 30.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.319, allocations: 12.53 kB / 0.952 GB, free: 30.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/1.32, allocations: 322.7 kB / 0.9523 GB, free: 30.61 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/1.324, allocations: 2.121 MB / 0.9543 GB, free: 29.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.324, allocations: 125.5 kB / 0.9545 GB, free: 29.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/1.324, allocations: 174.5 kB / 0.9546 GB, free: 29.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/1.327, allocations: 1.613 MB / 0.9562 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/1.327, allocations: 0 / 0.9562 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.327, allocations: 64.72 kB / 0.9563 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/1.327, allocations: 42.28 kB / 0.9563 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/1.329, allocations: 1.154 MB / 0.9574 GB, free: 29.34 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.01021/1.339, allocations: 7.898 MB / 0.9651 GB, free: 23.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/1.34, allocations: 465.6 kB / 0.9656 GB, free: 23.39 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/1.34, allocations: 332.5 kB / 0.9659 GB, free: 23.22 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/1.341, allocations: 0.7492 MB / 0.9666 GB, free: 22.36 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/1.341, allocations: 55.92 kB / 0.9667 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.396e-06/1.341, allocations: 0 / 0.9667 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.001923/1.343, allocations: 0.9918 MB / 0.9677 GB, free: 21.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.343, allocations: 66.02 kB / 0.9677 GB, free: 21.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/1.346, allocations: 2.261 MB / 0.9699 GB, free: 20.53 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.346, allocations: 44.23 kB / 0.97 GB, free: 20.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/1.347, allocations: 1.143 MB / 0.9711 GB, free: 19.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/1.347, allocations: 220.2 kB / 0.9713 GB, free: 19.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/1.347, allocations: 105.9 kB / 0.9714 GB, free: 19.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/1.347, allocations: 347.4 kB / 0.9717 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/1.348, allocations: 355.1 kB / 0.9721 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/1.349, allocations: 0.7569 MB / 0.9728 GB, free: 18.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.35, allocations: 0.9937 MB / 0.9738 GB, free: 17.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.35, allocations: 2.188 kB / 0.9738 GB, free: 17.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002119/1.352, allocations: 1.299 MB / 0.975 GB, free: 16.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.352, allocations: 347.6 kB / 0.9754 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.352, allocations: 9.719 kB / 0.9754 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.352, allocations: 16.66 kB / 0.9754 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/1.353, allocations: 253.8 kB / 0.9756 GB, free: 16.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.353, allocations: 16.91 kB / 0.9757 GB, free: 16.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.355, allocations: 262.2 kB / 0.9759 GB, free: 16.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.355, allocations: 50.11 kB / 0.976 GB, free: 16.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.355, allocations: 11.28 kB / 0.976 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001719/1.357, allocations: 1.029 MB / 0.977 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.357, allocations: 9 kB / 0.977 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.357, allocations: 21.31 kB / 0.977 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/1.358, allocations: 254.3 kB / 0.9772 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/1.358, allocations: 16.62 kB / 0.9773 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.36, allocations: 222.2 kB / 0.9775 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/1.36, allocations: 57.02 kB / 0.9775 GB, free: 15.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00151/1.362, allocations: 0.5681 MB / 0.9781 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/1.362, allocations: 233.5 kB / 0.9783 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.364, allocations: 0.8952 MB / 0.9792 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.364, allocations: 6.625 kB / 0.9792 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.364, allocations: 2.406 kB / 0.9792 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008974/1.365, allocations: 0.6921 MB / 0.9799 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/1.369, allocations: 2.568 MB / 0.9824 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.369, allocations: 0 / 0.9824 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/1.369, allocations: 132.8 kB / 0.9825 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.369, allocations: 3.031 kB / 0.9825 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/1.369, allocations: 17.45 kB / 0.9825 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.369, allocations: 6.625 kB / 0.9825 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.369, allocations: 2.969 kB / 0.9825 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/1.371, allocations: 1.321 MB / 0.9838 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/1.372, allocations: 442.4 kB / 0.9842 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/1.372, allocations: 15.25 kB / 0.9843 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.374, allocations: 125.2 kB / 0.9844 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.374, allocations: 44.31 kB / 0.9844 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/1.374, allocations: 33.12 kB / 0.9844 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002095/1.376, allocations: 1.512 MB / 0.9859 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.376, allocations: 0 / 0.9859 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003187/1.379, allocations: 1.092 MB / 0.987 GB, free: 9.766 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/1.381, allocations: 0.7391 MB / 0.9877 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00274/1.384, allocations: 1.369 MB / 0.989 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/1.384, allocations: 0 / 0.989 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005158/1.384, allocations: 343.6 kB / 0.9894 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007344/1.391, allocations: 1.402 MB / 0.9907 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/1.398, allocations: 4.606 MB / 0.9952 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/1.399, allocations: 1.571 MB / 0.9968 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/1.399, allocations: 179.4 kB / 0.9969 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/1.399, allocations: 4 kB / 0.9969 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.07032/1.47, allocations: 39.07 MB / 1.035 GB, free: 10.73 MB / 0.7637 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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