Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008575, allocations: 102.7 kB / 15.71 MB, free: 460 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.000931/0.000931, allocations: 178.7 kB / 16.58 MB, free: 6.047 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.521/1.521, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.943/2.943, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 12 kB / 0.8717 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7619, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01897/0.781, allocations: 16.01 MB / 1.037 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008702/0.7898, allocations: 4.593 MB / 1.042 GB, free: 12.42 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008905/0.7907, allocations: 15.88 kB / 1.042 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.7918, allocations: 190.9 kB / 1.042 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.7935, allocations: 0.5004 MB / 1.043 GB, free: 11.72 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.7956, allocations: 0.5907 MB / 1.043 GB, free: 11.13 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.7971, allocations: 1.1 MB / 1.044 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.7975, allocations: 260.6 kB / 1.044 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.7982, allocations: 362.4 kB / 1.045 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.7986, allocations: 286.7 kB / 1.045 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.7986, allocations: 16 kB / 1.045 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.7999, allocations: 0.5965 MB / 1.046 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.8, allocations: 107.6 kB / 1.046 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.8001, allocations: 117.4 kB / 1.046 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.8009, allocations: 0.5885 MB / 1.046 GB, free: 7.715 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.8009, allocations: 0 / 1.046 GB, free: 7.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8009, allocations: 4 kB / 1.046 GB, free: 7.711 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.8009, allocations: 0 / 1.046 GB, free: 7.711 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001204/0.8021, allocations: 0.7998 MB / 1.047 GB, free: 6.859 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8022, allocations: 11.98 kB / 1.047 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.8023, allocations: 55.34 kB / 1.047 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.803, allocations: 436.8 kB / 1.048 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.803, allocations: 24.5 kB / 1.048 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.8031, allocations: 28 kB / 1.048 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.8036, allocations: 290.2 kB / 1.048 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8036, allocations: 0 / 1.048 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.8036, allocations: 8 kB / 1.048 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.8037, allocations: 4 kB / 1.048 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.8041, allocations: 202.1 kB / 1.048 GB, free: 5.766 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.00193/0.806, allocations: 1.488 MB / 1.05 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.8063, allocations: 170.8 kB / 1.05 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.8065, allocations: 92.72 kB / 1.05 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.8084, allocations: 1.288 MB / 1.051 GB, free: 2.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.8084, allocations: 34.56 kB / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.8084, allocations: 0 / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006898/0.8091, allocations: 267.7 kB / 1.051 GB, free: 2.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.8092, allocations: 55.41 kB / 1.052 GB, free: 2.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.8098, allocations: 0.5847 MB / 1.052 GB, free: 1.441 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.8099, allocations: 25.7 kB / 1.052 GB, free: 1.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.8101, allocations: 280 kB / 1.052 GB, free: 1.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.8101, allocations: 51.2 kB / 1.052 GB, free: 1.082 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.8102, allocations: 8 kB / 1.052 GB, free: 1.074 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.8103, allocations: 362.8 kB / 1.053 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.8105, allocations: 72.52 kB / 1.053 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.8108, allocations: 210.7 kB / 1.053 GB, free: 396 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.811, allocations: 99.89 kB / 1.053 GB, free: 296 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.811, allocations: 0 / 1.053 GB, free: 296 kB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005842/0.8116, allocations: 318.6 kB / 1.053 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.8117, allocations: 169.7 kB / 1.054 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8118, allocations: 7.938 kB / 1.054 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.8118, allocations: 8 kB / 1.054 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.812, allocations: 59.91 kB / 1.054 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.8121, allocations: 4 kB / 1.054 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.8124, allocations: 51.66 kB / 1.054 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.8124, allocations: 12 kB / 1.054 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.8124, allocations: 8 kB / 1.054 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004592/0.8129, allocations: 247.7 kB / 1.054 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8129, allocations: 8.25 kB / 1.054 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.8129, allocations: 8 kB / 1.054 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.8132, allocations: 63.91 kB / 1.054 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.8132, allocations: 7.938 kB / 1.054 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.8135, allocations: 51.66 kB / 1.054 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.8135, allocations: 8 kB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002308/0.8137, allocations: 265 kB / 1.054 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.8138, allocations: 43.44 kB / 1.054 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.8144, allocations: 275.2 kB / 1.055 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8144, allocations: 4 kB / 1.055 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8144, allocations: 0 / 1.055 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.8144, allocations: 3.984 kB / 1.055 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.8155, allocations: 0.7472 MB / 1.055 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8155, allocations: 0 / 1.055 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.8156, allocations: 27.98 kB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8156, allocations: 4 kB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.8156, allocations: 8 kB / 1.055 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.8156, allocations: 4.125 kB / 1.055 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.8156, allocations: 7.938 kB / 1.056 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.8161, allocations: 360.1 kB / 1.056 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.8163, allocations: 152.4 kB / 1.056 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.8163, allocations: 7.953 kB / 1.056 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.8165, allocations: 23.98 kB / 1.056 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.8166, allocations: 11.97 kB / 1.056 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.8167, allocations: 12 kB / 1.056 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004682/0.8171, allocations: 414.8 kB / 1.056 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.454e-06/0.8171, allocations: 0 / 1.056 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007582/0.8179, allocations: 239.5 kB / 1.057 GB, free: 12.53 MB / 0.8106 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 (17): * Single equations (assignments): 15 * 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.001154/0.8191, allocations: 494.1 kB / 1.057 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006978/0.8198, allocations: 328.3 kB / 1.057 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8198, allocations: 4.25 kB / 1.057 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.82, allocations: 91.89 kB / 1.058 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.8212, allocations: 265.5 kB / 1.058 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.8226, allocations: 1.001 MB / 1.059 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8231, allocations: 0.8429 MB / 1.06 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.8232, allocations: 43.42 kB / 1.06 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.8232, allocations: 0 / 1.06 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of Templates: time 0.01409/0.8373, allocations: 8.497 MB / 1.068 GB, free: 1.129 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTableCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1