Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 91.33 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 186.3 kB / 17.22 MB, free: 6.293 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.547/1.547, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7211/0.7211, allocations: 114.4 MB / 406.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005742/0.0005743, allocations: 12 kB / 494.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2135, allocations: 77.27 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5018/0.7153, allocations: 104 MB / 0.6599 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03315/0.7485, allocations: 19.07 MB / 0.6785 GB, free: 36 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006253/0.7548, allocations: 95.36 kB / 0.6786 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004438/0.7593, allocations: 0.8928 MB / 0.6795 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.7706, allocations: 2.871 MB / 0.6823 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008838/0.7795, allocations: 2.385 MB / 0.6846 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.7935, allocations: 8.111 MB / 0.6926 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004305/0.7978, allocations: 1.82 MB / 0.6943 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009036/0.8069, allocations: 2.228 MB / 0.6965 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005887/0.8128, allocations: 1.925 MB / 0.6984 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008986/0.8138, allocations: 92 kB / 0.6985 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.8184, allocations: 1.146 MB / 0.6996 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008099/0.8193, allocations: 0.4899 MB / 0.7001 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.8209, allocations: 0.5628 MB / 0.7006 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007119/0.828, allocations: 3.279 MB / 0.7038 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8281, allocations: 0 / 0.7038 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.176e-06/0.8281, allocations: 0 / 0.7038 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001173/0.8282, allocations: 0 / 0.7038 GB, free: 6.078 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006577/0.8348, allocations: 2.729 MB / 0.7065 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.8349, allocations: 8.031 kB / 0.7065 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.836, allocations: 328.2 kB / 0.7068 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.8408, allocations: 2.063 MB / 0.7088 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.841, allocations: 126.9 kB / 0.709 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.8412, allocations: 168 kB / 0.7091 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.8447, allocations: 1.608 MB / 0.7107 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.8448, allocations: 4 kB / 0.7107 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.8449, allocations: 60 kB / 0.7107 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.845, allocations: 47.95 kB / 0.7108 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.8473, allocations: 1.143 MB / 0.7119 GB, free: 13.6 MB / 0.5294 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.01274/0.86, allocations: 7.897 MB / 0.7196 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.8609, allocations: 479.2 kB / 0.7201 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.8614, allocations: 323 kB / 0.7204 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007456/0.8622, allocations: 0.7641 MB / 0.7211 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.8623, allocations: 39.12 kB / 0.7212 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.8623, allocations: 0 / 0.7212 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.002191/0.8645, allocations: 1.004 MB / 0.7221 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.8645, allocations: 63.92 kB / 0.7222 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.868, allocations: 2.289 MB / 0.7244 GB, free: 40 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.8682, allocations: 45.78 kB / 0.7245 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.8693, allocations: 1.157 MB / 0.7256 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.8695, allocations: 217 kB / 0.7258 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.8696, allocations: 24 kB / 0.7258 GB, free: 14.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.8698, allocations: 349.9 kB / 0.7262 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.8705, allocations: 338.4 kB / 0.7265 GB, free: 13.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000944/0.8715, allocations: 0.7384 MB / 0.7272 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.8723, allocations: 458.7 kB / 0.7277 GB, free: 12.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.8723, allocations: 4 kB / 0.7277 GB, free: 12.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002282/0.8746, allocations: 1.272 MB / 0.7289 GB, free: 11.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.8748, allocations: 343.1 kB / 0.7292 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.8749, allocations: 11.95 kB / 0.7292 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.8749, allocations: 16 kB / 0.7293 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.8758, allocations: 251.6 kB / 0.7295 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.8759, allocations: 27.91 kB / 0.7295 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.8779, allocations: 246.2 kB / 0.7298 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.878, allocations: 51.98 kB / 0.7298 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.878, allocations: 8 kB / 0.7298 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/0.8798, allocations: 1.027 MB / 0.7308 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8798, allocations: 8.125 kB / 0.7308 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.8799, allocations: 20.05 kB / 0.7308 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.8808, allocations: 251.6 kB / 0.7311 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.8808, allocations: 15.94 kB / 0.7311 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.8828, allocations: 226.6 kB / 0.7313 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/0.8829, allocations: 51.98 kB / 0.7314 GB, free: 8.637 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.001619/0.8845, allocations: 0.582 MB / 0.7319 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006561/0.8852, allocations: 237 kB / 0.7322 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.8872, allocations: 0.8969 MB / 0.733 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.8873, allocations: 8 kB / 0.733 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8873, allocations: 0 / 0.733 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.8884, allocations: 0.6853 MB / 0.7337 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004861/0.8932, allocations: 2.578 MB / 0.7362 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8933, allocations: 0 / 0.7362 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.8938, allocations: 139.9 kB / 0.7364 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.8938, allocations: 4 kB / 0.7364 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.8939, allocations: 19.98 kB / 0.7364 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.8939, allocations: 3.984 kB / 0.7364 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8939, allocations: 7.938 kB / 0.7364 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.8962, allocations: 1.317 MB / 0.7377 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.8974, allocations: 457.8 kB / 0.7381 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.8976, allocations: 12 kB / 0.7381 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.8986, allocations: 123.7 kB / 0.7383 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8987, allocations: 44.47 kB / 0.7383 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.8988, allocations: 35.97 kB / 0.7383 GB, free: 1.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002556/0.9014, allocations: 1.53 MB / 0.7398 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9014, allocations: 0 / 0.7398 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003289/0.9047, allocations: 1.095 MB / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001853/0.9066, allocations: 0.7267 MB / 0.7416 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.9093, allocations: 1.342 MB / 0.7429 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.9094, allocations: 4 kB / 0.7429 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.9099, allocations: 335 kB / 0.7432 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/0.9173, allocations: 1.378 MB / 0.7446 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008132/0.9255, allocations: 4.488 MB / 0.749 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.9269, allocations: 1.582 MB / 0.7505 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/0.9277, allocations: 187.4 kB / 0.7507 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of SimCode: time 1.874e-06/0.9277, allocations: 0 / 0.7507 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of Templates: time 0.07929/1.007, allocations: 39.21 MB / 0.789 GB, free: 13.84 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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 OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1