Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 101.9 kB / 15.71 MB, free: 460 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.0013/0.001301, allocations: 174.7 kB / 16.58 MB, free: 6.402 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.876/1.876, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.831/1.831, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0006104/0.0006104, allocations: 18.25 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.339, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9125/1.251, allocations: 172.8 MB / 0.9567 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0122/1.264, allocations: 7.162 MB / 0.9637 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/1.265, allocations: 33.31 kB / 0.9637 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/1.267, allocations: 365.8 kB / 0.964 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/1.271, allocations: 1.127 MB / 0.9651 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007264/1.278, allocations: 2.043 MB / 0.9671 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00415/1.282, allocations: 2.416 MB / 0.9695 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/1.284, allocations: 0.8587 MB / 0.9703 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/1.286, allocations: 0.8146 MB / 0.9711 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/1.287, allocations: 0.7841 MB / 0.9719 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/1.287, allocations: 57.06 kB / 0.972 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/1.29, allocations: 0.9136 MB / 0.9728 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/1.29, allocations: 333.9 kB / 0.9732 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/1.291, allocations: 229.3 kB / 0.9734 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/1.293, allocations: 1.554 MB / 0.9749 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.293, allocations: 0 / 0.9749 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.625e-06/1.293, allocations: 0 / 0.9749 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.902e-05/1.293, allocations: 0 / 0.9749 GB, free: 19.02 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003727/1.297, allocations: 1.542 MB / 0.9764 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.297, allocations: 10.06 kB / 0.9764 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008889/1.298, allocations: 185 kB / 0.9766 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.3, allocations: 1.01 MB / 0.9776 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.3, allocations: 57.27 kB / 0.9776 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.3, allocations: 62.34 kB / 0.9777 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.301, allocations: 0.7006 MB / 0.9784 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.301, allocations: 0 / 0.9784 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/1.301, allocations: 21.47 kB / 0.9784 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/1.301, allocations: 10 kB / 0.9784 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/1.302, allocations: 0.6355 MB / 0.979 GB, free: 17.27 MB / 0.7325 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.003917/1.306, allocations: 2.694 MB / 0.9817 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.307, allocations: 0.5589 MB / 0.9822 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/1.308, allocations: 359.4 kB / 0.9825 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/1.308, allocations: 289 kB / 0.9828 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.308, allocations: 52.31 kB / 0.9829 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007576/1.309, allocations: 167.6 kB / 0.983 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/1.309, allocations: 4 kB / 0.983 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002057/1.311, allocations: 1.059 MB / 0.9841 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.311, allocations: 133.6 kB / 0.9842 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.313, allocations: 1.273 MB / 0.9854 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/1.313, allocations: 45.64 kB / 0.9855 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/1.313, allocations: 445 kB / 0.9859 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.314, allocations: 150.6 kB / 0.9861 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/1.314, allocations: 6.5 kB / 0.9861 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.314, allocations: 326.8 kB / 0.9864 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/1.314, allocations: 290.9 kB / 0.9866 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/1.315, allocations: 0.5207 MB / 0.9872 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/1.316, allocations: 347.7 kB / 0.9875 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.316, allocations: 0 / 0.9875 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001429/1.317, allocations: 0.7962 MB / 0.9883 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/1.317, allocations: 94.64 kB / 0.9884 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.317, allocations: 0 / 0.9884 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.317, allocations: 3.031 kB / 0.9884 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/1.318, allocations: 127.8 kB / 0.9885 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.318, allocations: 2.719 kB / 0.9885 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.319, allocations: 123.8 kB / 0.9886 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/1.319, allocations: 26.52 kB / 0.9886 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.319, allocations: 9.094 kB / 0.9886 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/1.32, allocations: 0.6671 MB / 0.9893 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.32, allocations: 0 / 0.9893 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/1.32, allocations: 2.875 kB / 0.9893 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/1.321, allocations: 123.3 kB / 0.9894 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.321, allocations: 6.797 kB / 0.9894 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.322, allocations: 126.8 kB / 0.9895 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/1.322, allocations: 25.69 kB / 0.9896 GB, free: 12.87 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0005324/1.323, allocations: 334.6 kB / 0.9899 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/1.323, allocations: 103.6 kB / 0.99 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.325, allocations: 0.835 MB / 0.9908 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.325, allocations: 12.02 kB / 0.9908 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.325, allocations: 3.953 kB / 0.9908 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.325, allocations: 3.984 kB / 0.9908 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/1.328, allocations: 1.979 MB / 0.9927 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.328, allocations: 3.281 kB / 0.9927 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/1.328, allocations: 107.7 kB / 0.9929 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.328, allocations: 9.828 kB / 0.9929 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/1.328, allocations: 12.75 kB / 0.9929 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.328, allocations: 9.781 kB / 0.9929 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.328, allocations: 0 / 0.9929 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/1.33, allocations: 1.286 MB / 0.9941 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/1.331, allocations: 291.6 kB / 0.9944 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/1.331, allocations: 12.38 kB / 0.9944 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/1.332, allocations: 79.03 kB / 0.9945 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.332, allocations: 37.55 kB / 0.9945 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/1.332, allocations: 24.17 kB / 0.9946 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001382/1.334, allocations: 0.9219 MB / 0.9955 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.334, allocations: 0 / 0.9955 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001523/1.335, allocations: 446.3 kB / 0.9959 GB, free: 10.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * 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 (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.0006854/1.336, allocations: 264.3 kB / 0.9961 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.338, allocations: 1.06 MB / 0.9972 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.338, allocations: 3.062 kB / 0.9972 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/1.338, allocations: 353.9 kB / 0.9975 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.341, allocations: 482.6 kB / 0.998 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/1.344, allocations: 2.033 MB / 1 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/1.345, allocations: 1.049 MB / 1.001 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/1.345, allocations: 101.1 kB / 1.001 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.345, allocations: 0 / 1.001 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of Templates: time 0.03078/1.376, allocations: 17.48 MB / 1.018 GB, free: 14.25 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o] Error 1