Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009377/0.0009373, allocations: 99.5 kB / 16.02 MB, free: 76 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.0009942/0.0009942, allocations: 185.1 kB / 16.92 MB, free: 6.895 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.976/1.976, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.877/1.877, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0007319/0.0007322, allocations: 13.97 kB / 0.675 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3382, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02159/0.3598, allocations: 16.93 MB / 0.8051 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3733, allocations: 7.814 MB / 0.8127 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/0.3741, allocations: 15.88 kB / 0.8127 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.3751, allocations: 202.9 kB / 0.8129 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.3769, allocations: 0.5592 MB / 0.8135 GB, free: 2 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.379, allocations: 0.6332 MB / 0.8141 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.3807, allocations: 1.267 MB / 0.8153 GB, free: 108 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.3813, allocations: 280.2 kB / 0.8156 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.3821, allocations: 366.4 kB / 0.8159 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.3826, allocations: 302.6 kB / 0.8162 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.3827, allocations: 16 kB / 0.8162 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.3842, allocations: 0.6822 MB / 0.8169 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.3844, allocations: 123.5 kB / 0.817 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.3846, allocations: 252.3 kB / 0.8173 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.3856, allocations: 0.6079 MB / 0.8179 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3856, allocations: 4 kB / 0.8179 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3856, allocations: 0 / 0.8179 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.3856, allocations: 4 kB / 0.8179 GB, free: 13.47 MB / 0.6387 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.001399/0.387, allocations: 0.7864 MB / 0.8186 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3871, allocations: 8.031 kB / 0.8186 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3873, allocations: 64.19 kB / 0.8187 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.3879, allocations: 445.4 kB / 0.8191 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.388, allocations: 24.5 kB / 0.8191 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.388, allocations: 28 kB / 0.8192 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.3886, allocations: 290.2 kB / 0.8195 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3886, allocations: 4 kB / 0.8195 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.3886, allocations: 12 kB / 0.8195 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3887, allocations: 7.984 kB / 0.8195 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.3891, allocations: 198.1 kB / 0.8197 GB, free: 11.52 MB / 0.6387 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.002122/0.3912, allocations: 1.48 MB / 0.8211 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3916, allocations: 170.7 kB / 0.8213 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3918, allocations: 88.81 kB / 0.8214 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/0.3937, allocations: 1.299 MB / 0.8226 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3938, allocations: 34.56 kB / 0.8227 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.3938, allocations: 0 / 0.8227 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0006575/0.3944, allocations: 265.2 kB / 0.8229 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3945, allocations: 55.41 kB / 0.823 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.3952, allocations: 0.5847 MB / 0.8235 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3952, allocations: 25.7 kB / 0.8236 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.3955, allocations: 272.1 kB / 0.8238 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.3956, allocations: 59.19 kB / 0.8239 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3957, allocations: 33.7 kB / 0.8239 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.3959, allocations: 358.8 kB / 0.8243 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3961, allocations: 80.45 kB / 0.8243 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.3965, allocations: 206.8 kB / 0.8245 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.3969, allocations: 241.2 kB / 0.8248 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.397, allocations: 3.938 kB / 0.8248 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005995/0.3976, allocations: 327.5 kB / 0.8251 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.3977, allocations: 165.8 kB / 0.8252 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3977, allocations: 7.938 kB / 0.8252 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3977, allocations: 4 kB / 0.8252 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.398, allocations: 63.91 kB / 0.8253 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.398, allocations: 4 kB / 0.8253 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.3984, allocations: 51.66 kB / 0.8254 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3984, allocations: 12 kB / 0.8254 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.3984, allocations: 4 kB / 0.8254 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004992/0.3989, allocations: 251.6 kB / 0.8256 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.399, allocations: 4 kB / 0.8256 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.399, allocations: 12.12 kB / 0.8256 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.3992, allocations: 63.91 kB / 0.8257 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3992, allocations: 4 kB / 0.8257 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3995, allocations: 51.66 kB / 0.8257 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3995, allocations: 12 kB / 0.8257 GB, free: 4.777 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.3998, allocations: 257 kB / 0.826 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.3999, allocations: 51.38 kB / 0.826 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.4004, allocations: 282.9 kB / 0.8263 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4005, allocations: 0 / 0.8263 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4005, allocations: 4 kB / 0.8263 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4005, allocations: 0 / 0.8263 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4016, allocations: 0.7396 MB / 0.827 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4016, allocations: 7.938 kB / 0.827 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.4018, allocations: 35.91 kB / 0.8271 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4018, allocations: 4 kB / 0.8271 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.4018, allocations: 8 kB / 0.8271 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4018, allocations: 0 / 0.8271 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4018, allocations: 4.125 kB / 0.8271 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.4023, allocations: 373.1 kB / 0.8275 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.4025, allocations: 156.4 kB / 0.8276 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.4026, allocations: 8 kB / 0.8276 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4028, allocations: 19.98 kB / 0.8276 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.4029, allocations: 11.98 kB / 0.8276 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4029, allocations: 11.94 kB / 0.8277 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005146/0.4034, allocations: 422.8 kB / 0.8281 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4034, allocations: 0 / 0.8281 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008492/0.4043, allocations: 231.6 kB / 0.8283 GB, free: 2.062 MB / 0.6387 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 (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.001422/0.4057, allocations: 492.3 kB / 0.8287 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007498/0.4065, allocations: 327.6 kB / 0.8291 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4065, allocations: 4.938 kB / 0.8291 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.4067, allocations: 92.02 kB / 0.8292 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4082, allocations: 251.5 kB / 0.8294 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.4101, allocations: 1.022 MB / 0.8304 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.4107, allocations: 0.8467 MB / 0.8312 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4109, allocations: 43.42 kB / 0.8313 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.4109, allocations: 0 / 0.8313 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.01849/0.4294, allocations: 8.516 MB / 0.8396 GB, free: 6.629 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTableCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1