Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009285/0.0009286, allocations: 100.5 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.001248/0.001248, allocations: 174.2 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.48/1.48, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.151/1.151, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003889, allocations: 16 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 83.41 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5626/0.7883, allocations: 104.1 MB / 0.6997 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04063/0.829, allocations: 19.11 MB / 0.7183 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00665/0.8357, allocations: 94.59 kB / 0.7184 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005178/0.8409, allocations: 0.8954 MB / 0.7193 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01627/0.8572, allocations: 2.868 MB / 0.7221 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.868, allocations: 2.379 MB / 0.7244 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01763/0.8857, allocations: 8.131 MB / 0.7324 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00638/0.8921, allocations: 1.814 MB / 0.7341 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008463/0.9006, allocations: 2.235 MB / 0.7363 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.9069, allocations: 1.914 MB / 0.7382 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.9082, allocations: 88 kB / 0.7383 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006567/0.9147, allocations: 1.146 MB / 0.7394 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.9167, allocations: 0.4977 MB / 0.7399 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.919, allocations: 0.5628 MB / 0.7404 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007752/0.9268, allocations: 3.497 MB / 0.7438 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.9269, allocations: 0 / 0.7438 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9269, allocations: 0 / 0.7438 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001836/0.9271, allocations: 0 / 0.7438 GB, free: 6.906 MB / 0.5606 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.007786/0.9349, allocations: 2.723 MB / 0.7465 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9349, allocations: 8.031 kB / 0.7465 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.9363, allocations: 328.2 kB / 0.7468 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005698/0.942, allocations: 2.061 MB / 0.7488 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.9422, allocations: 127 kB / 0.749 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/0.9427, allocations: 179.8 kB / 0.7491 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004381/0.9471, allocations: 1.608 MB / 0.7507 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.9472, allocations: 0 / 0.7507 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.9474, allocations: 64 kB / 0.7508 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.9475, allocations: 40 kB / 0.7508 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.9503, allocations: 1.147 MB / 0.7519 GB, free: 14.43 MB / 0.5762 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.01447/0.9647, allocations: 7.913 MB / 0.7596 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.9656, allocations: 489.9 kB / 0.7601 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.9661, allocations: 320.7 kB / 0.7604 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.9669, allocations: 0.7563 MB / 0.7612 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.9669, allocations: 43.12 kB / 0.7612 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.647e-06/0.967, allocations: 4 kB / 0.7612 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002362/0.9693, allocations: 0.992 MB / 0.7622 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.9694, allocations: 59.97 kB / 0.7622 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.9739, allocations: 2.296 MB / 0.7645 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.9741, allocations: 49.7 kB / 0.7645 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.9754, allocations: 1.153 MB / 0.7656 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.9758, allocations: 216.9 kB / 0.7658 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.9759, allocations: 23.94 kB / 0.7659 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9761, allocations: 341.9 kB / 0.7662 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/0.9768, allocations: 350.4 kB / 0.7665 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.978, allocations: 0.7346 MB / 0.7673 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.979, allocations: 466.7 kB / 0.7677 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.979, allocations: 4 kB / 0.7677 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002875/0.9819, allocations: 1.276 MB / 0.7689 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003543/0.9823, allocations: 338.7 kB / 0.7693 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.9823, allocations: 8 kB / 0.7693 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.045e-05/0.9824, allocations: 16 kB / 0.7693 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.9834, allocations: 255.6 kB / 0.7695 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.618e-05/0.9834, allocations: 17 kB / 0.7696 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.9858, allocations: 250.2 kB / 0.7698 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.9859, allocations: 51.98 kB / 0.7698 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.9859, allocations: 5.406 kB / 0.7698 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/0.988, allocations: 1.027 MB / 0.7708 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.988, allocations: 8 kB / 0.7709 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.9881, allocations: 12 kB / 0.7709 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.989, allocations: 260 kB / 0.7711 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.989, allocations: 23.92 kB / 0.7711 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.9912, allocations: 222.5 kB / 0.7713 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.9913, allocations: 47.98 kB / 0.7714 GB, free: 9.449 MB / 0.5919 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.001488/0.9928, allocations: 0.5788 MB / 0.772 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/0.9935, allocations: 229.1 kB / 0.7722 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.9957, allocations: 0.9081 MB / 0.7731 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.9958, allocations: 11.95 kB / 0.7731 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.9958, allocations: 0 / 0.7731 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.9969, allocations: 0.6934 MB / 0.7738 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/1.002, allocations: 2.578 MB / 0.7763 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.002, allocations: 0 / 0.7763 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/1.003, allocations: 135.8 kB / 0.7764 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.003, allocations: 7.984 kB / 0.7764 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/1.003, allocations: 12 kB / 0.7764 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/1.003, allocations: 8 kB / 0.7764 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.003, allocations: 12.08 kB / 0.7764 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.005, allocations: 1.317 MB / 0.7777 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.007, allocations: 457.8 kB / 0.7782 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.007, allocations: 19.89 kB / 0.7782 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/1.008, allocations: 119.6 kB / 0.7783 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/1.008, allocations: 44.52 kB / 0.7783 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/1.008, allocations: 31.97 kB / 0.7784 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002459/1.01, allocations: 1.53 MB / 0.7799 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.42e-07/1.01, allocations: 0 / 0.7799 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003203/1.014, allocations: 1.087 MB / 0.7809 GB, free: 15.5 MB / 0.6075 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.001716/1.015, allocations: 0.7227 MB / 0.7816 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002666/1.018, allocations: 1.35 MB / 0.7829 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.018, allocations: 1.312 kB / 0.7829 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/1.019, allocations: 335.2 kB / 0.7833 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/1.025, allocations: 1.382 MB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/1.032, allocations: 4.483 MB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.033, allocations: 1.586 MB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/1.034, allocations: 179.4 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of SimCode: time 1.332e-06/1.034, allocations: 4 kB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.06866/1.102, allocations: 39.57 MB / 0.8294 GB, free: 14.37 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1