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.001329/0.001329, allocations: 96.14 kB / 15.87 MB, free: 16 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.001631/0.001631, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.827/1.827, allocations: 205.1 MB / 222.6 MB, free: 4.805 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.78/1.78, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001407/0.001407, allocations: 66.69 kB / 0.6715 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3641, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9569/1.321, allocations: 187.7 MB / 0.9666 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01559/1.337, allocations: 7.888 MB / 0.9743 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/1.339, allocations: 32.66 kB / 0.9744 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/1.341, allocations: 462.2 kB / 0.9748 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/1.346, allocations: 1.448 MB / 0.9762 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.356, allocations: 2.29 MB / 0.9785 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005152/1.362, allocations: 2.81 MB / 0.9812 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/1.364, allocations: 0.9271 MB / 0.9821 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/1.366, allocations: 0.8397 MB / 0.9829 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/1.368, allocations: 0.8415 MB / 0.9838 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000298/1.368, allocations: 66 kB / 0.9838 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/1.372, allocations: 1.497 MB / 0.9853 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005104/1.373, allocations: 354.5 kB / 0.9856 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009629/1.374, allocations: 0.5728 MB / 0.9862 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/1.376, allocations: 1.613 MB / 0.9878 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.376, allocations: 0 / 0.9878 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/1.376, allocations: 0 / 0.9878 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.063e-05/1.376, allocations: 2.562 kB / 0.9878 GB, free: 4.242 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.005355/1.382, allocations: 1.76 MB / 0.9895 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.382, allocations: 8.625 kB / 0.9895 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/1.383, allocations: 201.3 kB / 0.9897 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/1.385, allocations: 1.044 MB / 0.9907 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.385, allocations: 59.2 kB / 0.9907 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.385, allocations: 58.16 kB / 0.9908 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/1.386, allocations: 0.6934 MB / 0.9915 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.386, allocations: 0 / 0.9915 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/1.386, allocations: 20.97 kB / 0.9915 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/1.387, allocations: 11.84 kB / 0.9915 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.388, allocations: 0.6207 MB / 0.9921 GB, free: 18.07 MB / 0.7481 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.00446/1.392, allocations: 2.667 MB / 0.9947 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.393, allocations: 0.5603 MB / 0.9953 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/1.394, allocations: 349.7 kB / 0.9956 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/1.395, allocations: 291.1 kB / 0.9959 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.395, allocations: 38.52 kB / 0.9959 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009233/1.396, allocations: 166.1 kB / 0.9961 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 3.036e-06/1.396, allocations: 0 / 0.9961 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43): time 0.002511/1.398, allocations: 1.026 MB / 0.9971 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/1.398, allocations: 136.4 kB / 0.9972 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/1.4, allocations: 1.286 MB / 0.9985 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/1.4, allocations: 38.64 kB / 0.9985 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/1.401, allocations: 448.9 kB / 0.9989 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/1.401, allocations: 149.1 kB / 0.9991 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/1.401, allocations: 127.5 kB / 0.9992 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.402, allocations: 325.4 kB / 0.9995 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/1.402, allocations: 288.4 kB / 0.9998 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/1.403, allocations: 0.5175 MB / 1 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.404, allocations: 0.6153 MB / 1.001 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.404, allocations: 0 / 1.001 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001804/1.406, allocations: 0.7845 MB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.406, allocations: 10.53 kB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.406, allocations: 0.7031 kB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.406, allocations: 2.469 kB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/1.407, allocations: 112.5 kB / 1.002 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.407, allocations: 4 kB / 1.002 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.409, allocations: 108.2 kB / 1.002 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/1.409, allocations: 20.55 kB / 1.002 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/1.41, allocations: 497.5 kB / 1.002 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008041/1.41, allocations: 0.5088 MB / 1.003 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/1.412, allocations: 0.612 MB / 1.003 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-06/1.412, allocations: 3.938 kB / 1.003 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00169/1.413, allocations: 0.7765 MB / 1.004 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/1.413, allocations: 13.91 kB / 1.004 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.413, allocations: 2.469 kB / 1.004 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/1.413, allocations: 1.844 kB / 1.004 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/1.414, allocations: 108.3 kB / 1.004 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.414, allocations: 9.797 kB / 1.004 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.416, allocations: 138.6 kB / 1.004 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/1.416, allocations: 29.38 kB / 1.005 GB, free: 11.48 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002922/1.416, allocations: 207.7 kB / 1.005 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/1.416, allocations: 107.1 kB / 1.005 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/1.418, allocations: 0.8016 MB / 1.006 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.418, allocations: 4.906 kB / 1.006 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/1.418, allocations: 0 / 1.006 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.418, allocations: 3.984 kB / 1.006 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/1.422, allocations: 1.958 MB / 1.008 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.422, allocations: 3.375 kB / 1.008 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/1.422, allocations: 101.9 kB / 1.008 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.422, allocations: 20.75 kB / 1.008 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.422, allocations: 20.64 kB / 1.008 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.422, allocations: 2.125 kB / 1.008 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.422, allocations: 5.219 kB / 1.008 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.424, allocations: 1.238 MB / 1.009 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/1.425, allocations: 287.7 kB / 1.009 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.425, allocations: 12.33 kB / 1.009 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.426, allocations: 77.11 kB / 1.009 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.426, allocations: 53.81 kB / 1.009 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/1.426, allocations: 17.41 kB / 1.009 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001563/1.428, allocations: 0.9221 MB / 1.01 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.428, allocations: 0 / 1.01 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001525/1.43, allocations: 451.5 kB / 1.011 GB, free: 7.711 MB / 0.7481 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 (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.0006879/1.43, allocations: 265.4 kB / 1.011 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002257/1.432, allocations: 1.042 MB / 1.012 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.432, allocations: 0 / 1.012 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006671/1.433, allocations: 343.4 kB / 1.012 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.436, allocations: 472.5 kB / 1.013 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/1.439, allocations: 2.075 MB / 1.015 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/1.44, allocations: 1.056 MB / 1.016 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/1.44, allocations: 92.98 kB / 1.016 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/1.44, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of Templates: time 0.02956/1.47, allocations: 17.61 MB / 1.033 GB, free: 8.852 MB / 0.7637 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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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