Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_latest_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.001041/0.001041, allocations: 99.59 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.001224/0.001224, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.507/1.507, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 436.7 MB / 0.7113 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 8 kB / 0.8717 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8695/0.8699, allocations: 153.7 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1058/0.9758, allocations: 104.1 MB / 1.123 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03052/1.006, allocations: 19.1 MB / 1.142 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004615/1.011, allocations: 95.31 kB / 1.142 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003986/1.015, allocations: 0.885 MB / 1.143 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/1.026, allocations: 2.874 MB / 1.146 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007644/1.034, allocations: 2.372 MB / 1.148 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01223/1.046, allocations: 8.116 MB / 1.156 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/1.05, allocations: 1.812 MB / 1.158 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/1.057, allocations: 2.232 MB / 1.16 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005879/1.063, allocations: 1.917 MB / 1.162 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/1.064, allocations: 95.94 kB / 1.162 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/1.07, allocations: 1.146 MB / 1.163 GB, free: 80 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00158/1.072, allocations: 0.49 MB / 1.164 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001909/1.074, allocations: 0.5627 MB / 1.164 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007866/1.081, allocations: 3.277 MB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.082, allocations: 4 kB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.326e-06/1.082, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002076/1.082, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 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.00911/1.091, allocations: 2.716 MB / 1.17 GB, free: 8.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.091, allocations: 8.031 kB / 1.17 GB, free: 8.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/1.093, allocations: 328.2 kB / 1.17 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007004/1.1, allocations: 2.075 MB / 1.172 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/1.1, allocations: 126.9 kB / 1.172 GB, free: 6.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000703/1.101, allocations: 168 kB / 1.173 GB, free: 6.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/1.106, allocations: 1.608 MB / 1.174 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/1.106, allocations: 3.938 kB / 1.174 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/1.107, allocations: 67.94 kB / 1.174 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-05/1.107, allocations: 44 kB / 1.174 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/1.11, allocations: 1.143 MB / 1.175 GB, free: 3.246 MB / 0.92 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.01502/1.125, allocations: 7.909 MB / 1.183 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/1.126, allocations: 481.9 kB / 1.184 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/1.127, allocations: 322.9 kB / 1.184 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008292/1.128, allocations: 0.7524 MB / 1.185 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.128, allocations: 47.12 kB / 1.185 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 3.116e-06/1.128, allocations: 4 kB / 1.185 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.002469/1.13, allocations: 0.9958 MB / 1.186 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/1.13, allocations: 59.97 kB / 1.186 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/1.135, allocations: 2.292 MB / 1.188 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.135, allocations: 49.7 kB / 1.188 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.137, allocations: 1.153 MB / 1.189 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/1.137, allocations: 212.9 kB / 1.189 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/1.137, allocations: 24 kB / 1.189 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.137, allocations: 341.9 kB / 1.19 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/1.138, allocations: 350.4 kB / 1.19 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.139, allocations: 0.7307 MB / 1.191 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/1.14, allocations: 458.7 kB / 1.191 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.14, allocations: 8 kB / 1.191 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002859/1.143, allocations: 1.276 MB / 1.192 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/1.143, allocations: 342.8 kB / 1.193 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.143, allocations: 8 kB / 1.193 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/1.143, allocations: 16 kB / 1.193 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.144, allocations: 251.6 kB / 1.193 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.628e-05/1.144, allocations: 19.92 kB / 1.193 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.146, allocations: 246.4 kB / 1.193 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.147, allocations: 59.95 kB / 1.193 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.147, allocations: 4 kB / 1.193 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/1.149, allocations: 1.031 MB / 1.194 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.149, allocations: 11.94 kB / 1.194 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.149, allocations: 15.78 kB / 1.194 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/1.149, allocations: 251.6 kB / 1.195 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/1.15, allocations: 20.39 kB / 1.195 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.151, allocations: 222.6 kB / 1.195 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.152, allocations: 47.98 kB / 1.195 GB, free: 14.27 MB / 0.9512 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.001173/1.153, allocations: 0.5749 MB / 1.195 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/1.153, allocations: 237 kB / 1.196 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/1.155, allocations: 0.9009 MB / 1.196 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.155, allocations: 8 kB / 1.196 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.155, allocations: 3.938 kB / 1.196 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/1.156, allocations: 0.6931 MB / 1.197 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004811/1.161, allocations: 2.57 MB / 1.2 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.161, allocations: 4 kB / 1.2 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/1.162, allocations: 127.9 kB / 1.2 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/1.162, allocations: 4 kB / 1.2 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/1.162, allocations: 15.98 kB / 1.2 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.162, allocations: 7.938 kB / 1.2 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.162, allocations: 4 kB / 1.2 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/1.164, allocations: 1.329 MB / 1.201 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.165, allocations: 461.7 kB / 1.202 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/1.166, allocations: 12 kB / 1.202 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.168, allocations: 119.7 kB / 1.202 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.168, allocations: 40.45 kB / 1.202 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.168, allocations: 39.97 kB / 1.202 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004108/1.172, allocations: 1.53 MB / 1.203 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.172, allocations: 0 / 1.203 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005434/1.177, allocations: 1.087 MB / 1.204 GB, free: 4.332 MB / 0.9512 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.002761/1.18, allocations: 0.7074 MB / 1.205 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004103/1.184, allocations: 1.346 MB / 1.206 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/1.184, allocations: 0 / 1.206 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/1.185, allocations: 343.4 kB / 1.207 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/1.195, allocations: 1.391 MB / 1.208 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.206, allocations: 4.476 MB / 1.212 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.207, allocations: 1.586 MB / 1.214 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008721/1.208, allocations: 179.4 kB / 1.214 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of SimCode: time 1.112e-06/1.208, allocations: 0 / 1.214 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of Templates: time 0.0696/1.278, allocations: 39.21 MB / 1.252 GB, free: 3.477 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f Buildings_latest_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/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.Examples.ThreeWayValvesCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1