Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009213, allocations: 98.89 kB / 15.71 MB, free: 452 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.001211/0.001212, allocations: 180.9 kB / 16.58 MB, free: 6.422 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.543/1.543, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.864/2.864, allocations: 436.7 MB / 0.7113 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004438, allocations: 8.219 kB / 0.8717 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8835/0.884, allocations: 153.6 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01493/0.899, allocations: 14.09 MB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006169/0.9052, allocations: 4.38 MB / 1.04 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005094/0.9057, allocations: 15.88 kB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.9063, allocations: 131.1 kB / 1.04 GB, free: 14.4 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.9076, allocations: 469.5 kB / 1.04 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.909, allocations: 495.7 kB / 1.041 GB, free: 13.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.9103, allocations: 1.072 MB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.9107, allocations: 247.9 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000586/0.9113, allocations: 354.4 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.9117, allocations: 294.6 kB / 1.043 GB, free: 11.51 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.9118, allocations: 12 kB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.9122, allocations: 139.7 kB / 1.043 GB, free: 11.36 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.346e-05/0.9123, allocations: 71.66 kB / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.9124, allocations: 101.5 kB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.9128, allocations: 347.1 kB / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9128, allocations: 0 / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9128, allocations: 0 / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.9128, allocations: 0 / 1.043 GB, free: 10.84 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001004/0.9139, allocations: 0.6711 MB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.9139, allocations: 11.98 kB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.914, allocations: 47.44 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.9146, allocations: 377.1 kB / 1.044 GB, free: 9.656 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.9146, allocations: 24.42 kB / 1.044 GB, free: 9.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.9146, allocations: 27.95 kB / 1.045 GB, free: 9.605 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.915, allocations: 191.2 kB / 1.045 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.915, allocations: 8 kB / 1.045 GB, free: 9.402 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.915, allocations: 4 kB / 1.045 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.915, allocations: 4 kB / 1.045 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.9153, allocations: 133.7 kB / 1.045 GB, free: 9.266 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.001385/0.9167, allocations: 0.8674 MB / 1.046 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.9171, allocations: 118.6 kB / 1.046 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.9172, allocations: 52.77 kB / 1.046 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.9174, allocations: 332.4 kB / 1.046 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.9175, allocations: 46.48 kB / 1.046 GB, free: 7.688 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.9175, allocations: 4 kB / 1.046 GB, free: 7.684 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003432/0.9178, allocations: 173.1 kB / 1.046 GB, free: 7.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.9179, allocations: 51.41 kB / 1.046 GB, free: 7.445 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/0.9184, allocations: 461.8 kB / 1.047 GB, free: 6.988 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.9184, allocations: 29.7 kB / 1.047 GB, free: 6.953 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.9186, allocations: 212.3 kB / 1.047 GB, free: 6.738 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.9187, allocations: 39.41 kB / 1.047 GB, free: 6.699 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.9187, allocations: 8 kB / 1.047 GB, free: 6.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9188, allocations: 350.8 kB / 1.047 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.9189, allocations: 47.98 kB / 1.048 GB, free: 6.293 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.9191, allocations: 106.7 kB / 1.048 GB, free: 6.172 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.9192, allocations: 59.98 kB / 1.048 GB, free: 6.113 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9192, allocations: 7.938 kB / 1.048 GB, free: 6.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003429/0.9196, allocations: 221 kB / 1.048 GB, free: 5.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9196, allocations: 4 kB / 1.048 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9196, allocations: 4.188 kB / 1.048 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.9196, allocations: 3.953 kB / 1.048 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.9198, allocations: 43.92 kB / 1.048 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.9199, allocations: 0 / 1.048 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.9202, allocations: 51.66 kB / 1.048 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.9202, allocations: 12 kB / 1.048 GB, free: 5.766 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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.0001537/0.9204, allocations: 149.8 kB / 1.048 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.9204, allocations: 43.44 kB / 1.048 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.9208, allocations: 193.6 kB / 1.048 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.9208, allocations: 7.953 kB / 1.048 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.9208, allocations: 0 / 1.048 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.9208, allocations: 0 / 1.048 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.9215, allocations: 0.6186 MB / 1.049 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.9216, allocations: 3.953 kB / 1.049 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.9217, allocations: 23.98 kB / 1.049 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9217, allocations: 8.062 kB / 1.049 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9217, allocations: 4.062 kB / 1.049 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9217, allocations: 4 kB / 1.049 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9217, allocations: 4 kB / 1.049 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.922, allocations: 306.2 kB / 1.049 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.9222, allocations: 140.5 kB / 1.049 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.9223, allocations: 4 kB / 1.049 GB, free: 4.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.9225, allocations: 27.88 kB / 1.049 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.9225, allocations: 4 kB / 1.049 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.9226, allocations: 11.98 kB / 1.05 GB, free: 4.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003887/0.923, allocations: 323.1 kB / 1.05 GB, free: 3.789 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.923, allocations: 0 / 1.05 GB, free: 3.789 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004039/0.9234, allocations: 99.94 kB / 1.05 GB, free: 3.691 MB / 0.795 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 (14): * Single equations (assignments): 12 * 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.0004814/0.9239, allocations: 209.7 kB / 1.05 GB, free: 3.488 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.9242, allocations: 135.9 kB / 1.05 GB, free: 3.355 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9242, allocations: 4 kB / 1.05 GB, free: 3.352 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.9243, allocations: 59.91 kB / 1.05 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.9254, allocations: 207.2 kB / 1.05 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.9269, allocations: 0.8066 MB / 1.051 GB, free: 2.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.9274, allocations: 0.8077 MB / 1.052 GB, free: 1.406 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.9275, allocations: 43.42 kB / 1.052 GB, free: 1.363 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.9275, allocations: 0 / 1.052 GB, free: 1.363 MB / 0.795 GB Notification: Performance of Templates: time 0.01024/0.9377, allocations: 6.376 MB / 1.058 GB, free: 11.06 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancingCalcHelperMain.o OMCppBuildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancingCalcHelperMain.o] Error 1