Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008983, allocations: 100.7 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.001187/0.001187, allocations: 177.2 kB / 16.58 MB, free: 6.418 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.461/1.461, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.822/2.822, allocations: 436.7 MB / 0.7113 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 8 kB / 0.8717 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.934/0.9344, allocations: 153.7 MB / 1.022 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01514/0.9496, allocations: 14.23 MB / 1.036 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00683/0.9565, allocations: 4.064 MB / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.9572, allocations: 7.938 kB / 1.04 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009296/0.9582, allocations: 202.8 kB / 1.04 GB, free: 14.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.9596, allocations: 489.5 kB / 1.04 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.9613, allocations: 0.5967 MB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.9626, allocations: 1.126 MB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.963, allocations: 256.5 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006286/0.9637, allocations: 366.4 kB / 1.043 GB, free: 11.79 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.9641, allocations: 306.6 kB / 1.043 GB, free: 11.48 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.9642, allocations: 12 kB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.9652, allocations: 0.5381 MB / 1.043 GB, free: 10.93 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.9653, allocations: 83.59 kB / 1.043 GB, free: 10.85 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.9654, allocations: 109.5 kB / 1.044 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.9661, allocations: 0.5222 MB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9661, allocations: 0 / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9661, allocations: 0 / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.9661, allocations: 0 / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001202/0.9673, allocations: 0.7512 MB / 1.045 GB, free: 9.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9673, allocations: 15.92 kB / 1.045 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.9674, allocations: 51.44 kB / 1.045 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.968, allocations: 393 kB / 1.045 GB, free: 8.922 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.968, allocations: 20.44 kB / 1.045 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.9681, allocations: 32 kB / 1.045 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.9685, allocations: 219.1 kB / 1.045 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9685, allocations: 0 / 1.045 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.9686, allocations: 12 kB / 1.046 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9686, allocations: 7.984 kB / 1.046 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.9689, allocations: 177.6 kB / 1.046 GB, free: 8.457 MB / 0.795 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.001496/0.9704, allocations: 0.9498 MB / 1.047 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.9707, allocations: 142.5 kB / 1.047 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.9709, allocations: 76.81 kB / 1.047 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.9712, allocations: 336.4 kB / 1.047 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.9712, allocations: 34.56 kB / 1.047 GB, free: 6.758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.9712, allocations: 3.938 kB / 1.047 GB, free: 6.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0005973/0.9718, allocations: 253 kB / 1.047 GB, free: 6.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.9719, allocations: 55.36 kB / 1.047 GB, free: 6.434 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.9724, allocations: 477.9 kB / 1.048 GB, free: 5.953 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.9725, allocations: 33.64 kB / 1.048 GB, free: 5.914 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.9727, allocations: 236.6 kB / 1.048 GB, free: 5.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.9727, allocations: 47.36 kB / 1.048 GB, free: 5.633 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.9728, allocations: 4 kB / 1.048 GB, free: 5.629 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9729, allocations: 346.8 kB / 1.049 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.9731, allocations: 67.95 kB / 1.049 GB, free: 5.215 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.9733, allocations: 157.3 kB / 1.049 GB, free: 5.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.9735, allocations: 89.78 kB / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.9736, allocations: 0 / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004798/0.974, allocations: 257 kB / 1.049 GB, free: 4.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.9741, allocations: 107.5 kB / 1.049 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9741, allocations: 7.938 kB / 1.049 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.9742, allocations: 3.953 kB / 1.049 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.9744, allocations: 47.97 kB / 1.049 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.9744, allocations: 7.938 kB / 1.049 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.9747, allocations: 51.66 kB / 1.049 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.9748, allocations: 11.98 kB / 1.049 GB, free: 4.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.9748, allocations: 4 kB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003924/0.9752, allocations: 186.1 kB / 1.05 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.9752, allocations: 4 kB / 1.05 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.9752, allocations: 4 kB / 1.05 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.9754, allocations: 47.97 kB / 1.05 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.9754, allocations: 3.938 kB / 1.05 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.9757, allocations: 43.81 kB / 1.05 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.9757, allocations: 11.98 kB / 1.05 GB, free: 4.148 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001997/0.9759, allocations: 237.1 kB / 1.05 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.976, allocations: 43.44 kB / 1.05 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.9765, allocations: 261.1 kB / 1.05 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.9766, allocations: 4 kB / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9766, allocations: 0 / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9766, allocations: 0 / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/0.9775, allocations: 0.7123 MB / 1.051 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.9776, allocations: 4.094 kB / 1.051 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.9777, allocations: 35.91 kB / 1.051 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9777, allocations: 4.062 kB / 1.051 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.9777, allocations: 8 kB / 1.051 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.9777, allocations: 4 kB / 1.051 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9777, allocations: 0 / 1.051 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.9782, allocations: 360 kB / 1.051 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.9783, allocations: 152.4 kB / 1.051 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.9784, allocations: 4 kB / 1.051 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.9786, allocations: 23.92 kB / 1.051 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.9787, allocations: 19.94 kB / 1.051 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.9787, allocations: 7.984 kB / 1.051 GB, free: 2.16 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003429/0.979, allocations: 330.9 kB / 1.052 GB, free: 1.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.979, allocations: 0 / 1.052 GB, free: 1.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006412/0.9797, allocations: 203.6 kB / 1.052 GB, free: 1.641 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00114/0.9808, allocations: 475.8 kB / 1.052 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.9815, allocations: 279.9 kB / 1.053 GB, free: 1.035 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9815, allocations: 0 / 1.053 GB, free: 1.035 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.9817, allocations: 96.08 kB / 1.053 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.9829, allocations: 224.6 kB / 1.053 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.9842, allocations: 0.8723 MB / 1.054 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.9847, allocations: 0.8272 MB / 1.055 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.9848, allocations: 39.42 kB / 1.055 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of SimCode: time 7.22e-07/0.9848, allocations: 0 / 1.055 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.01133/0.9961, allocations: 7.356 MB / 1.062 GB, free: 7.629 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTableCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o] Error 1