Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.6 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.001051/0.001051, allocations: 176.3 kB / 16.58 MB, free: 6.406 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.883/1.883, allocations: 205.4 MB / 222.7 MB, free: 5.871 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.774/1.774, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005961/0.0005961, allocations: 14 kB / 0.6744 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3282, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8763/1.205, allocations: 180.9 MB / 0.9646 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01468/1.219, allocations: 8.318 MB / 0.9727 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/1.222, allocations: 42.17 kB / 0.9727 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/1.224, allocations: 467.4 kB / 0.9732 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/1.229, allocations: 1.352 MB / 0.9745 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009493/1.239, allocations: 2.386 MB / 0.9768 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00649/1.245, allocations: 3.092 MB / 0.9798 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/1.248, allocations: 1.156 MB / 0.981 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/1.251, allocations: 1.057 MB / 0.982 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/1.253, allocations: 1.029 MB / 0.983 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/1.253, allocations: 77.09 kB / 0.9831 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/1.257, allocations: 0.9774 MB / 0.984 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005996/1.257, allocations: 446.4 kB / 0.9845 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007001/1.258, allocations: 283.5 kB / 0.9847 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/1.261, allocations: 1.985 MB / 0.9867 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.261, allocations: 0 / 0.9867 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.055e-06/1.261, allocations: 3.938 kB / 0.9867 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.481e-05/1.261, allocations: 1.859 kB / 0.9867 GB, free: 16.12 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004881/1.266, allocations: 1.9 MB / 0.9885 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.266, allocations: 9.375 kB / 0.9885 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/1.267, allocations: 230.8 kB / 0.9888 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.269, allocations: 1.276 MB / 0.99 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.269, allocations: 74.03 kB / 0.9901 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.269, allocations: 82.81 kB / 0.9902 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/1.271, allocations: 0.9316 MB / 0.9911 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/1.271, allocations: 0 / 0.9911 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/1.271, allocations: 29.45 kB / 0.9911 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/1.271, allocations: 16.28 kB / 0.9911 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/1.273, allocations: 0.847 MB / 0.9919 GB, free: 13.79 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.005691/1.278, allocations: 3.496 MB / 0.9953 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/1.28, allocations: 0.7799 MB / 0.9961 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/1.28, allocations: 460.6 kB / 0.9965 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/1.281, allocations: 289.9 kB / 0.9968 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.281, allocations: 37 kB / 0.9969 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/1.282, allocations: 238 kB / 0.9971 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 3.537e-06/1.282, allocations: 3 kB / 0.9971 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.002657/1.285, allocations: 1.343 MB / 0.9984 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.285, allocations: 219.2 kB / 0.9986 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/1.287, allocations: 1.664 MB / 1 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.72e-05/1.287, allocations: 47.03 kB / 1 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/1.288, allocations: 0.5596 MB / 1.001 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/1.288, allocations: 176.7 kB / 1.001 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/1.288, allocations: 9.188 kB / 1.001 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.288, allocations: 336.5 kB / 1.001 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/1.289, allocations: 386.9 kB / 1.002 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/1.29, allocations: 0.6956 MB / 1.002 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/1.291, allocations: 463.8 kB / 1.003 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.291, allocations: 3.953 kB / 1.003 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001858/1.293, allocations: 1.051 MB / 1.004 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/1.293, allocations: 99.66 kB / 1.004 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.293, allocations: 10.14 kB / 1.004 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.293, allocations: 0 / 1.004 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/1.293, allocations: 160.6 kB / 1.004 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.293, allocations: 2.938 kB / 1.004 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.295, allocations: 166.3 kB / 1.004 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/1.295, allocations: 35.64 kB / 1.004 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/1.295, allocations: 7.594 kB / 1.004 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/1.297, allocations: 0.8912 MB / 1.005 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.297, allocations: 10.81 kB / 1.005 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/1.297, allocations: 2.938 kB / 1.005 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/1.298, allocations: 157.4 kB / 1.005 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.298, allocations: 3.344 kB / 1.005 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.299, allocations: 158.8 kB / 1.005 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/1.299, allocations: 37.27 kB / 1.006 GB, free: 8.309 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 (61): * Single equations (assignments): 57 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.000699/1.3, allocations: 377.9 kB / 1.006 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/1.3, allocations: 133.8 kB / 1.006 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/1.302, allocations: 1.062 MB / 1.007 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.302, allocations: 6.188 kB / 1.007 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.302, allocations: 0 / 1.007 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.302, allocations: 3.984 kB / 1.007 GB, free: 7.746 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 postOpt removeSimpleEquations (simulation): time 0.003901/1.306, allocations: 2.492 MB / 1.009 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.306, allocations: 2.875 kB / 1.01 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/1.307, allocations: 136.7 kB / 1.01 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/1.307, allocations: 3.438 kB / 1.01 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/1.307, allocations: 21.16 kB / 1.01 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/1.307, allocations: 11.47 kB / 1.01 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.307, allocations: 6.516 kB / 1.01 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/1.31, allocations: 1.557 MB / 1.011 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005634/1.31, allocations: 360.2 kB / 1.012 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/1.31, allocations: 14.88 kB / 1.012 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.311, allocations: 102.7 kB / 1.012 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.312, allocations: 53.27 kB / 1.012 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/1.312, allocations: 21.39 kB / 1.012 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001764/1.313, allocations: 1.194 MB / 1.013 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.313, allocations: 2.625 kB / 1.013 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001646/1.315, allocations: 0.5406 MB / 1.013 GB, free: 5.547 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (63): * Single equations (assignments): 63 * 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.0006225/1.316, allocations: 279.2 kB / 1.014 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002431/1.318, allocations: 1.448 MB / 1.015 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.318, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/1.319, allocations: 436.1 kB / 1.016 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.322, allocations: 0.6038 MB / 1.016 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/1.325, allocations: 2.594 MB / 1.019 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/1.326, allocations: 1.163 MB / 1.02 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/1.327, allocations: 131.8 kB / 1.02 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/1.327, allocations: 0 / 1.02 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.03914/1.366, allocations: 22.41 MB / 1.042 GB, free: 14.05 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlowCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o] Error 1