Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007871/0.0007872, allocations: 98.48 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.001063/0.001063, allocations: 189.7 kB / 16.92 MB, free: 6.75 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.97/1.97, allocations: 205.4 MB / 223.1 MB, free: 5.773 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.901/1.901, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.000569/0.0005691, allocations: 18.41 kB / 0.675 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3354, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03289/0.3683, allocations: 29.33 MB / 0.8172 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.3877, allocations: 11.86 MB / 0.8288 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.3896, allocations: 39.62 kB / 0.8288 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3907, allocations: 337.9 kB / 0.8291 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.3946, allocations: 1.228 MB / 0.8303 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.3977, allocations: 1.039 MB / 0.8313 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006041/0.4037, allocations: 4.176 MB / 0.8354 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.4067, allocations: 1.147 MB / 0.8365 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.411, allocations: 1.472 MB / 0.838 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.4149, allocations: 1.593 MB / 0.8395 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009004/0.4158, allocations: 64 kB / 0.8396 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4192, allocations: 0.9358 MB / 0.8405 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009531/0.4201, allocations: 334.7 kB / 0.8408 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.4214, allocations: 0.7015 MB / 0.8415 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.4236, allocations: 1.539 MB / 0.843 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4236, allocations: 0 / 0.843 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4236, allocations: 0 / 0.843 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.4236, allocations: 0 / 0.843 GB, free: 3.625 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002346/0.426, allocations: 1.321 MB / 0.8443 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4261, allocations: 12.03 kB / 0.8443 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.4264, allocations: 147.1 kB / 0.8445 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.4279, allocations: 0.8867 MB / 0.8453 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.428, allocations: 81.31 kB / 0.8454 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.4283, allocations: 120 kB / 0.8455 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.4294, allocations: 0.6473 MB / 0.8461 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4295, allocations: 0 / 0.8461 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.4295, allocations: 24 kB / 0.8462 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.4296, allocations: 19.94 kB / 0.8462 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.4305, allocations: 480.9 kB / 0.8466 GB, free: 15.77 MB / 0.67 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.004793/0.4353, allocations: 2.867 MB / 0.8494 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.436, allocations: 311.9 kB / 0.8497 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.4363, allocations: 153.3 kB / 0.8499 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003937/0.4367, allocations: 344.7 kB / 0.8502 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4367, allocations: 38.84 kB / 0.8503 GB, free: 11.84 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/0.4368, allocations: 0 / 0.8503 GB, free: 11.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001332/0.4381, allocations: 0.5475 MB / 0.8508 GB, free: 11.28 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.4382, allocations: 55.41 kB / 0.8508 GB, free: 11.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.4394, allocations: 0.8908 MB / 0.8517 GB, free: 10.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.4395, allocations: 57.7 kB / 0.8518 GB, free: 10.24 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000584/0.4401, allocations: 0.5407 MB / 0.8523 GB, free: 9.691 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4402, allocations: 114.3 kB / 0.8524 GB, free: 9.578 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.4403, allocations: 61.69 kB / 0.8525 GB, free: 9.512 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4405, allocations: 338.1 kB / 0.8528 GB, free: 9.176 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.4409, allocations: 189.2 kB / 0.853 GB, free: 8.992 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.4424, allocations: 1.159 MB / 0.8541 GB, free: 7.465 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/0.4433, allocations: 475.4 kB / 0.8545 GB, free: 6.977 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4433, allocations: 4 kB / 0.8546 GB, free: 6.973 MB / 0.67 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001449/0.4447, allocations: 0.6579 MB / 0.8552 GB, free: 6.305 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.4449, allocations: 152.3 kB / 0.8553 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4449, allocations: 4 kB / 0.8553 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4449, allocations: 4 kB / 0.8553 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.4464, allocations: 243.6 kB / 0.8556 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.4484, allocations: 2.961 MB / 0.8585 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/0.4518, allocations: 0.7496 MB / 0.8592 GB, free: 2.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.4519, allocations: 27.98 kB / 0.8592 GB, free: 2.023 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4519, allocations: 4 kB / 0.8592 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/0.4529, allocations: 0.4972 MB / 0.8597 GB, free: 1.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4529, allocations: 7.938 kB / 0.8597 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.453, allocations: 4 kB / 0.8597 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.4536, allocations: 159.8 kB / 0.8599 GB, free: 1.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.4536, allocations: 15.92 kB / 0.8599 GB, free: 1.336 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/0.4569, allocations: 0.7302 MB / 0.8606 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.457, allocations: 23.98 kB / 0.8606 GB, free: 0.582 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006012/0.4576, allocations: 337.8 kB / 0.861 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4577, allocations: 94.78 kB / 0.861 GB, free: 152 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4588, allocations: 0.5171 MB / 0.8616 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4588, allocations: 7.984 kB / 0.8616 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4589, allocations: 0 / 0.8616 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4589, allocations: 0 / 0.8616 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.4609, allocations: 1.267 MB / 0.8628 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4609, allocations: 0 / 0.8628 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.4614, allocations: 124.2 kB / 0.8629 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4614, allocations: 4 kB / 0.8629 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4615, allocations: 12 kB / 0.8629 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.4632, allocations: 2.942 MB / 0.8658 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.4633, allocations: 8.203 kB / 0.8658 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.4642, allocations: 0.5775 MB / 0.8664 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.4646, allocations: 231.6 kB / 0.8666 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.4647, allocations: 8 kB / 0.8666 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.4653, allocations: 59.88 kB / 0.8667 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.4654, allocations: 31.89 kB / 0.8667 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4654, allocations: 20 kB / 0.8667 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000823/0.4662, allocations: 0.5884 MB / 0.8673 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4662, allocations: 0 / 0.8673 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001645/0.4679, allocations: 0.5384 MB / 0.8678 GB, free: 8.969 MB / 0.6856 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007665/0.4687, allocations: 333.2 kB / 0.8681 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002621/0.4713, allocations: 0.8587 MB / 0.869 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4713, allocations: 0 / 0.869 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.4719, allocations: 244.9 kB / 0.8692 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.4747, allocations: 479.6 kB / 0.8697 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.4776, allocations: 1.898 MB / 0.8715 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.4783, allocations: 1.022 MB / 0.8725 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.4785, allocations: 83.42 kB / 0.8726 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of SimCode: time 9.51e-07/0.4785, allocations: 0 / 0.8726 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of Templates: time 0.04993/0.5284, allocations: 36.35 MB / 0.9081 GB, free: 15.91 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValvesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1