Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.03 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.001645/0.001645, allocations: 185.4 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.941/1.941, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.943/1.943, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005686/0.0005687, allocations: 15.22 kB / 0.675 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3591, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02048/0.3797, allocations: 18.96 MB / 0.8071 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.3937, allocations: 8.442 MB / 0.8153 GB, free: 92 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.395, allocations: 23.75 kB / 0.8153 GB, free: 68 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008555/0.3958, allocations: 214.7 kB / 0.8155 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.3982, allocations: 0.7027 MB / 0.8162 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.4005, allocations: 0.797 MB / 0.817 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.403, allocations: 1.927 MB / 0.8189 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.4037, allocations: 440.7 kB / 0.8193 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4047, allocations: 0.5523 MB / 0.8198 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.4054, allocations: 0.5095 MB / 0.8203 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.4055, allocations: 31.94 kB / 0.8204 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.4069, allocations: 0.6549 MB / 0.821 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.4071, allocations: 131.4 kB / 0.8211 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.4075, allocations: 371.7 kB / 0.8215 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.4084, allocations: 0.7482 MB / 0.8222 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4084, allocations: 0 / 0.8222 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4084, allocations: 3.938 kB / 0.8222 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.4084, allocations: 4 kB / 0.8222 GB, free: 8.973 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001768/0.4102, allocations: 0.9736 MB / 0.8232 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4103, allocations: 8.031 kB / 0.8232 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.4104, allocations: 91.91 kB / 0.8233 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.4112, allocations: 0.5066 MB / 0.8238 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.4112, allocations: 37 kB / 0.8238 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.4113, allocations: 48 kB / 0.8238 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4125, allocations: 0.6372 MB / 0.8245 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4125, allocations: 3.938 kB / 0.8245 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.4125, allocations: 24 kB / 0.8245 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4126, allocations: 12 kB / 0.8245 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4136, allocations: 0.5151 MB / 0.825 GB, free: 5.961 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.00346/0.4171, allocations: 3.193 MB / 0.8281 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.4178, allocations: 368.7 kB / 0.8285 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.4183, allocations: 248.7 kB / 0.8287 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.4187, allocations: 344.4 kB / 0.829 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.4188, allocations: 38.56 kB / 0.8291 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/0.4188, allocations: 0 / 0.8291 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002178/0.421, allocations: 0.8691 MB / 0.8299 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.421, allocations: 55.41 kB / 0.83 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.4217, allocations: 0.5822 MB / 0.8305 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.4218, allocations: 37.7 kB / 0.8306 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.4221, allocations: 320.4 kB / 0.8309 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4222, allocations: 134.1 kB / 0.831 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.4223, allocations: 61.67 kB / 0.8311 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4224, allocations: 378.6 kB / 0.8314 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.423, allocations: 225.2 kB / 0.8317 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.4236, allocations: 388 kB / 0.832 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.4247, allocations: 0.6018 MB / 0.8326 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4247, allocations: 0 / 0.8326 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001509/0.4262, allocations: 0.7498 MB / 0.8333 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.4264, allocations: 215.5 kB / 0.8335 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4264, allocations: 4 kB / 0.8336 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.427, allocations: 156.7 kB / 0.8337 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.4276, allocations: 147.8 kB / 0.8338 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005815/0.4282, allocations: 0.6225 MB / 0.8345 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.4288, allocations: 103.4 kB / 0.8345 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.4289, allocations: 31.98 kB / 0.8346 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.4289, allocations: 4 kB / 0.8346 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/0.4302, allocations: 0.6233 MB / 0.8352 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4302, allocations: 8.094 kB / 0.8352 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.4302, allocations: 8 kB / 0.8352 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.4308, allocations: 163.8 kB / 0.8354 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.4308, allocations: 7.938 kB / 0.8354 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.4314, allocations: 99.53 kB / 0.8355 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.4315, allocations: 31.94 kB / 0.8355 GB, free: 10.62 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.4318, allocations: 273.6 kB / 0.8358 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4319, allocations: 67.16 kB / 0.8358 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.4335, allocations: 0.666 MB / 0.8365 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4336, allocations: 4 kB / 0.8365 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4336, allocations: 0 / 0.8365 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4336, allocations: 3.938 kB / 0.8365 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.4361, allocations: 1.428 MB / 0.8379 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4361, allocations: 0 / 0.8379 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.4365, allocations: 83.89 kB / 0.838 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.4369, allocations: 128.8 kB / 0.8381 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.437, allocations: 15.98 kB / 0.8381 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/0.4376, allocations: 0.6343 MB / 0.8387 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4376, allocations: 3.938 kB / 0.8387 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.439, allocations: 0.7283 MB / 0.8394 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.4393, allocations: 207.9 kB / 0.8396 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.4394, allocations: 8 kB / 0.8396 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.4398, allocations: 51.95 kB / 0.8397 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4399, allocations: 35.95 kB / 0.8397 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.44, allocations: 19.98 kB / 0.8397 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004633/0.4405, allocations: 399.1 kB / 0.8401 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4405, allocations: 0 / 0.8401 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00123/0.4417, allocations: 383.4 kB / 0.8405 GB, free: 5.352 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007205/0.4424, allocations: 299.3 kB / 0.8408 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.4444, allocations: 0.9058 MB / 0.8417 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4445, allocations: 7.938 kB / 0.8417 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007096/0.4452, allocations: 304.2 kB / 0.8419 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4468, allocations: 281.7 kB / 0.8422 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.449, allocations: 1.35 MB / 0.8435 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.4495, allocations: 0.9155 MB / 0.8444 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.4497, allocations: 63.41 kB / 0.8445 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/0.4497, allocations: 4 kB / 0.8445 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.01892/0.4686, allocations: 12.96 MB / 0.8571 GB, free: 4.312 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependentCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1