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.001448/0.001448, allocations: 96.14 kB / 15.87 MB, free: 16 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.002006/0.002006, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.819/1.819, allocations: 205.1 MB / 222.6 MB, free: 4.812 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.738/1.738, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001397/0.001397, allocations: 62.73 kB / 0.6715 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1184/0.4306, allocations: 112.5 MB / 0.8932 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04654/0.4772, allocations: 24.5 MB / 0.9171 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007914/0.4852, allocations: 111.1 kB / 0.9172 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005514/0.4909, allocations: 1.041 MB / 0.9182 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01379/0.5047, allocations: 3.352 MB / 0.9215 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.741/1.246, allocations: 2.796 MB / 0.9242 GB, free: 38.08 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01674/1.262, allocations: 9.435 MB / 0.9334 GB, free: 38.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/1.267, allocations: 2.125 MB / 0.9355 GB, free: 37.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007748/1.275, allocations: 2.361 MB / 0.9378 GB, free: 37.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006406/1.282, allocations: 2.117 MB / 0.9399 GB, free: 37.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008054/1.282, allocations: 119.6 kB / 0.94 GB, free: 37.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007083/1.289, allocations: 1.464 MB / 0.9414 GB, free: 37.47 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/1.291, allocations: 0.5607 MB / 0.942 GB, free: 37.37 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003883/1.295, allocations: 1.347 MB / 0.9433 GB, free: 36.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/1.3, allocations: 3.36 MB / 0.9466 GB, free: 36.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.3, allocations: 7.188 kB / 0.9466 GB, free: 36.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/1.3, allocations: 0 / 0.9466 GB, free: 36.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001103/1.3, allocations: 0 / 0.9466 GB, free: 36.83 MB / 0.7325 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.00869/1.309, allocations: 3.181 MB / 0.9497 GB, free: 35.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.309, allocations: 8.688 kB / 0.9497 GB, free: 35.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/1.31, allocations: 316.5 kB / 0.95 GB, free: 35.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/1.315, allocations: 2.122 MB / 0.9521 GB, free: 34.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/1.315, allocations: 126 kB / 0.9522 GB, free: 34.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/1.315, allocations: 168.2 kB / 0.9523 GB, free: 34.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/1.319, allocations: 1.604 MB / 0.9539 GB, free: 34.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/1.319, allocations: 12.53 kB / 0.9539 GB, free: 34.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.319, allocations: 61.69 kB / 0.954 GB, free: 34.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/1.319, allocations: 41.97 kB / 0.954 GB, free: 34.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/1.322, allocations: 1.145 MB / 0.9551 GB, free: 34.44 MB / 0.7325 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.01374/1.336, allocations: 7.863 MB / 0.9628 GB, free: 30.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/1.337, allocations: 467.5 kB / 0.9633 GB, free: 30.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/1.337, allocations: 326.1 kB / 0.9636 GB, free: 30.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005671/1.338, allocations: 0.7577 MB / 0.9643 GB, free: 29.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/1.338, allocations: 42.88 kB / 0.9644 GB, free: 29.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/1.338, allocations: 1.594 kB / 0.9644 GB, free: 29.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.002903/1.341, allocations: 0.9895 MB / 0.9653 GB, free: 29.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.341, allocations: 63.47 kB / 0.9654 GB, free: 29.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/1.345, allocations: 2.255 MB / 0.9676 GB, free: 29.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/1.345, allocations: 49.73 kB / 0.9676 GB, free: 29.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.346, allocations: 1.155 MB / 0.9688 GB, free: 28.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/1.346, allocations: 205.3 kB / 0.969 GB, free: 28.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/1.347, allocations: 251.3 kB / 0.9692 GB, free: 28.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.347, allocations: 352.8 kB / 0.9695 GB, free: 28.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/1.348, allocations: 360.8 kB / 0.9699 GB, free: 28.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.349, allocations: 0.744 MB / 0.9706 GB, free: 28.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/1.351, allocations: 0.9837 MB / 0.9716 GB, free: 27.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.351, allocations: 2.844 kB / 0.9716 GB, free: 27.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003113/1.354, allocations: 1.287 MB / 0.9728 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/1.354, allocations: 15.84 kB / 0.9728 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.354, allocations: 7.438 kB / 0.9728 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/1.354, allocations: 19.22 kB / 0.9729 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.355, allocations: 256.9 kB / 0.9731 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/1.355, allocations: 20.47 kB / 0.9731 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.358, allocations: 254.8 kB / 0.9734 GB, free: 27.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.358, allocations: 53.48 kB / 0.9734 GB, free: 27.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00186/1.36, allocations: 0.757 MB / 0.9742 GB, free: 27.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009687/1.361, allocations: 0.7346 MB / 0.9749 GB, free: 26.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/1.362, allocations: 0.9487 MB / 0.9758 GB, free: 26.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.375e-06/1.362, allocations: 3.672 kB / 0.9758 GB, free: 26.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002824/1.365, allocations: 1.259 MB / 0.977 GB, free: 26.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.365, allocations: 9.125 kB / 0.977 GB, free: 26.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.365, allocations: 8.562 kB / 0.9771 GB, free: 26.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.365, allocations: 12.94 kB / 0.9771 GB, free: 26.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/1.366, allocations: 257.6 kB / 0.9773 GB, free: 26.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/1.366, allocations: 20.14 kB / 0.9773 GB, free: 26.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/1.369, allocations: 188.4 kB / 0.9775 GB, free: 26.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/1.369, allocations: 52.73 kB / 0.9776 GB, free: 26.36 MB / 0.7325 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.0004277/1.369, allocations: 252.2 kB / 0.9778 GB, free: 26.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.37, allocations: 230.5 kB / 0.978 GB, free: 26.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/1.372, allocations: 0.888 MB / 0.9789 GB, free: 25.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.372, allocations: 10.66 kB / 0.9789 GB, free: 25.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.372, allocations: 2.312 kB / 0.9789 GB, free: 25.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009193/1.373, allocations: 0.6796 MB / 0.9796 GB, free: 25.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/1.378, allocations: 2.551 MB / 0.9821 GB, free: 25.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.379, allocations: 4.094 kB / 0.9821 GB, free: 25.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/1.379, allocations: 125.7 kB / 0.9822 GB, free: 25.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/1.379, allocations: 9.938 kB / 0.9822 GB, free: 25.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/1.379, allocations: 18.08 kB / 0.9822 GB, free: 25.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/1.379, allocations: 6.719 kB / 0.9822 GB, free: 25.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.379, allocations: 192 / 0.9822 GB, free: 25.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/1.381, allocations: 1.309 MB / 0.9835 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.382, allocations: 409.5 kB / 0.9839 GB, free: 24.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.383, allocations: 10.91 kB / 0.9839 GB, free: 24.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.384, allocations: 112.7 kB / 0.984 GB, free: 24.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.384, allocations: 47.47 kB / 0.984 GB, free: 24.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/1.384, allocations: 31.2 kB / 0.9841 GB, free: 24.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002176/1.386, allocations: 1.512 MB / 0.9856 GB, free: 23.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/1.386, allocations: 0 / 0.9856 GB, free: 23.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00345/1.39, allocations: 1.101 MB / 0.9866 GB, free: 23.55 MB / 0.7325 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.001915/1.392, allocations: 0.7296 MB / 0.9873 GB, free: 23.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002629/1.394, allocations: 1.354 MB / 0.9887 GB, free: 22.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.394, allocations: 1 kB / 0.9887 GB, free: 22.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/1.395, allocations: 329.7 kB / 0.989 GB, free: 22.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006616/1.401, allocations: 1.4 MB / 0.9903 GB, free: 21.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/1.408, allocations: 4.539 MB / 0.9948 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.409, allocations: 1.576 MB / 0.9963 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/1.41, allocations: 175.8 kB / 0.9965 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.41, allocations: 0 / 0.9965 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.06046/1.47, allocations: 39.45 MB / 1.035 GB, free: 12.21 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