Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009504/0.0009505, allocations: 99.19 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.001066/0.001066, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 270.7 kB / 292.3 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.5 MB / 0.501 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004386, allocations: 19.98 kB / 0.5993 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 88.55 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.473/0.65, allocations: 110.1 MB / 0.7933 GB, free: 22.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02822/0.6782, allocations: 20.13 MB / 0.813 GB, free: 19.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/0.6838, allocations: 91.41 kB / 0.813 GB, free: 19.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.688, allocations: 1.045 MB / 0.8141 GB, free: 18.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.7005, allocations: 3.373 MB / 0.8174 GB, free: 17.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007973/0.7085, allocations: 2.875 MB / 0.8202 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01317/0.7217, allocations: 9.544 MB / 0.8295 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.7257, allocations: 2.069 MB / 0.8315 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006381/0.7321, allocations: 2.318 MB / 0.8338 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.7368, allocations: 2.037 MB / 0.8358 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009252/0.7377, allocations: 89.28 kB / 0.8358 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.7427, allocations: 1.446 MB / 0.8373 GB, free: 6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.7439, allocations: 0.5194 MB / 0.8378 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003117/0.747, allocations: 1.336 MB / 0.8391 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.7516, allocations: 3.321 MB / 0.8423 GB, free: 2.418 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7516, allocations: 0 / 0.8423 GB, free: 2.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7516, allocations: 0 / 0.8423 GB, free: 2.418 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001347/0.7518, allocations: 0 / 0.8423 GB, free: 2.418 MB / 0.545 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.00517/0.757, allocations: 2.695 MB / 0.8449 GB, free: 416 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.757, allocations: 10.16 kB / 0.8449 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.7581, allocations: 324.3 kB / 0.8453 GB, free: 252 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00471/0.7628, allocations: 2.16 MB / 0.8474 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.7629, allocations: 122.5 kB / 0.8475 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003738/0.7633, allocations: 169 kB / 0.8476 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.7668, allocations: 1.617 MB / 0.8492 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.7669, allocations: 0 / 0.8492 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.767, allocations: 64 kB / 0.8493 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.7671, allocations: 43.98 kB / 0.8493 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.7694, allocations: 1.159 MB / 0.8505 GB, free: 11.96 MB / 0.5606 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.01213/0.7816, allocations: 7.905 MB / 0.8582 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.7824, allocations: 481.9 kB / 0.8586 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.7829, allocations: 330.9 kB / 0.859 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.7835, allocations: 0.7563 MB / 0.8597 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.7836, allocations: 47.11 kB / 0.8597 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/0.7836, allocations: 0 / 0.8597 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.002062/0.7857, allocations: 1.004 MB / 0.8607 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.7857, allocations: 63.95 kB / 0.8608 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.7893, allocations: 2.316 MB / 0.863 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.7895, allocations: 41.7 kB / 0.8631 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.7906, allocations: 1.157 MB / 0.8642 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.7908, allocations: 209 kB / 0.8644 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.791, allocations: 117.6 kB / 0.8645 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7912, allocations: 341.9 kB / 0.8648 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/0.7919, allocations: 358.4 kB / 0.8652 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7929, allocations: 0.7619 MB / 0.8659 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.7945, allocations: 0.9902 MB / 0.8669 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.7945, allocations: 4 kB / 0.8669 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002789/0.7973, allocations: 1.303 MB / 0.8682 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004132/0.7977, allocations: 342.8 kB / 0.8685 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.7978, allocations: 8 kB / 0.8685 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/0.7978, allocations: 16 kB / 0.8685 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7988, allocations: 251.6 kB / 0.8688 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/0.7989, allocations: 19.92 kB / 0.8688 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.8012, allocations: 246.2 kB / 0.869 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.8013, allocations: 55.92 kB / 0.8691 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8013, allocations: 7.984 kB / 0.8691 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/0.8033, allocations: 1.027 MB / 0.8701 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.8033, allocations: 11.94 kB / 0.8701 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.8033, allocations: 12 kB / 0.8701 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/0.8042, allocations: 264.1 kB / 0.8704 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.8043, allocations: 15.98 kB / 0.8704 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.8064, allocations: 214.6 kB / 0.8706 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.8065, allocations: 51.98 kB / 0.8706 GB, free: 6.16 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.8076, allocations: 0.5839 MB / 0.8712 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.8082, allocations: 236.9 kB / 0.8714 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.8101, allocations: 0.8996 MB / 0.8723 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.8101, allocations: 8 kB / 0.8723 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8102, allocations: 0 / 0.8723 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.8112, allocations: 0.7009 MB / 0.873 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.8159, allocations: 2.578 MB / 0.8755 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.816, allocations: 0 / 0.8755 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.8165, allocations: 131.8 kB / 0.8756 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.8165, allocations: 4 kB / 0.8756 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.8166, allocations: 15.98 kB / 0.8757 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.8166, allocations: 8.094 kB / 0.8757 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.8166, allocations: 8 kB / 0.8757 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.8187, allocations: 1.329 MB / 0.877 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.8198, allocations: 454.2 kB / 0.8774 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004525/0.8202, allocations: 16 kB / 0.8774 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.8216, allocations: 115.7 kB / 0.8775 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.8217, allocations: 40.52 kB / 0.8776 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.8218, allocations: 39.95 kB / 0.8776 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002729/0.8245, allocations: 1.554 MB / 0.8791 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8245, allocations: 0 / 0.8791 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003605/0.8281, allocations: 1.095 MB / 0.8802 GB, free: 12.18 MB / 0.5919 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 (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.001922/0.8301, allocations: 0.7431 MB / 0.8809 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.8328, allocations: 1.37 MB / 0.8823 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8328, allocations: 0 / 0.8823 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.8334, allocations: 335.4 kB / 0.8826 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007865/0.8413, allocations: 1.396 MB / 0.8839 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.8489, allocations: 4.664 MB / 0.8885 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.8501, allocations: 1.582 MB / 0.89 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/0.8507, allocations: 179.4 kB / 0.8902 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/0.8507, allocations: 0 / 0.8902 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.05883/0.9096, allocations: 39.21 MB / 0.9285 GB, free: 11.15 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1