Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008726/0.0008726, allocations: 102.4 kB / 15.71 MB, free: 448 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.0008103/0.0008103, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.094/1.094, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2134, allocations: 83.41 MB / 0.5981 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6781/0.8916, allocations: 172.6 MB / 0.7666 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008509/0.9001, allocations: 4.074 MB / 0.7706 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.9017, allocations: 23.81 kB / 0.7706 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.903, allocations: 321.8 kB / 0.7709 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.9068, allocations: 1.151 MB / 0.7721 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.9102, allocations: 1.016 MB / 0.7731 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.9135, allocations: 2.386 MB / 0.7754 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.9148, allocations: 0.8538 MB / 0.7762 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.9164, allocations: 0.8093 MB / 0.777 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.9175, allocations: 0.7821 MB / 0.7778 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.9177, allocations: 60 kB / 0.7778 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.9201, allocations: 0.799 MB / 0.7786 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.9205, allocations: 330.8 kB / 0.7789 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.9209, allocations: 225.1 kB / 0.7791 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.9228, allocations: 1.551 MB / 0.7807 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9228, allocations: 0 / 0.7807 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9228, allocations: 0 / 0.7807 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.9228, allocations: 0 / 0.7807 GB, free: 1.207 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003969/0.9268, allocations: 1.51 MB / 0.7821 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9269, allocations: 12.03 kB / 0.7821 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008162/0.9277, allocations: 178.5 kB / 0.7823 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.9297, allocations: 1.011 MB / 0.7833 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.9298, allocations: 48.98 kB / 0.7833 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.93, allocations: 60.88 kB / 0.7834 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.9313, allocations: 0.6193 MB / 0.784 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.9313, allocations: 0 / 0.784 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.9314, allocations: 27.94 kB / 0.784 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.9315, allocations: 20.98 kB / 0.7841 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.9328, allocations: 0.6402 MB / 0.7847 GB, free: 12.97 MB / 0.6075 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.004344/0.9372, allocations: 2.673 MB / 0.7873 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.9383, allocations: 0.559 MB / 0.7878 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.939, allocations: 360.6 kB / 0.7882 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.9394, allocations: 287.3 kB / 0.7885 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.9395, allocations: 38.56 kB / 0.7885 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007173/0.9402, allocations: 164.3 kB / 0.7886 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.9402, allocations: 0 / 0.7886 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00232/0.9425, allocations: 1.05 MB / 0.7897 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.9426, allocations: 59.41 kB / 0.7897 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.9448, allocations: 1.271 MB / 0.791 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.9448, allocations: 37.7 kB / 0.791 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.9453, allocations: 433.7 kB / 0.7914 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.9455, allocations: 145.8 kB / 0.7916 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.9455, allocations: 8 kB / 0.7916 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9457, allocations: 322 kB / 0.7919 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.9463, allocations: 272.6 kB / 0.7921 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.9471, allocations: 489.4 kB / 0.7926 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.9477, allocations: 335.6 kB / 0.7929 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9478, allocations: 0 / 0.7929 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001492/0.9493, allocations: 0.7456 MB / 0.7936 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/0.9493, allocations: 107.4 kB / 0.7937 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9494, allocations: 0 / 0.7937 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9494, allocations: 4 kB / 0.7938 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.95, allocations: 123.8 kB / 0.7939 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.95, allocations: 4 kB / 0.7939 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.9512, allocations: 129.8 kB / 0.794 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.9513, allocations: 23.11 kB / 0.794 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.9513, allocations: 4 kB / 0.794 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/0.9526, allocations: 0.6316 MB / 0.7946 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.9526, allocations: 0 / 0.7946 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.9526, allocations: 7.938 kB / 0.7946 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.9532, allocations: 127.8 kB / 0.7948 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.9532, allocations: 3.984 kB / 0.7948 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.9543, allocations: 131.3 kB / 0.7949 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.9543, allocations: 19.98 kB / 0.7949 GB, free: 2.145 MB / 0.6075 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 (45): * Single equations (assignments): 45 * 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.0005566/0.9549, allocations: 329 kB / 0.7952 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.9551, allocations: 98.78 kB / 0.7953 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.9569, allocations: 0.8317 MB / 0.7961 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.9569, allocations: 4 kB / 0.7961 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.9569, allocations: 4 kB / 0.7961 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.9569, allocations: 7.938 kB / 0.7962 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.9602, allocations: 1.98 MB / 0.7981 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9602, allocations: 0 / 0.7981 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.9607, allocations: 111.9 kB / 0.7982 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.9607, allocations: 8.281 kB / 0.7982 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.9608, allocations: 19.98 kB / 0.7982 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.9608, allocations: 7.938 kB / 0.7982 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.9608, allocations: 4 kB / 0.7982 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.963, allocations: 1.26 MB / 0.7995 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.9635, allocations: 299.6 kB / 0.7997 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9636, allocations: 12 kB / 0.7998 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/0.9645, allocations: 75.91 kB / 0.7998 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.9647, allocations: 43.95 kB / 0.7999 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.9647, allocations: 28.59 kB / 0.7999 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001471/0.9662, allocations: 0.909 MB / 0.8008 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9662, allocations: 0 / 0.8008 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001258/0.9675, allocations: 407.4 kB / 0.8012 GB, free: 11.56 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[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.0005422/0.968, allocations: 223.6 kB / 0.8014 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.97, allocations: 0.9718 MB / 0.8023 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.9701, allocations: 4 kB / 0.8023 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.9707, allocations: 348.1 kB / 0.8027 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.9729, allocations: 464.5 kB / 0.8031 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.976, allocations: 1.989 MB / 0.8051 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.9767, allocations: 1.038 MB / 0.8061 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.9771, allocations: 99.38 kB / 0.8062 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/0.9771, allocations: 4 kB / 0.8062 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of Templates: time 0.02795/1.005, allocations: 16.34 MB / 0.8221 GB, free: 6.215 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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/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.Dampers.Examples.MixingBoxCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o] Error 1