Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0007435/0.0007436, 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.0007797/0.0007797, allocations: 172.4 kB / 16.58 MB, free: 6.395 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.235/1.235, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8641/0.8641, allocations: 135.3 MB / 427 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 15.98 kB / 0.5076 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 82.31 MB / 0.588 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4426/0.5923, allocations: 172.5 MB / 0.7565 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00681/0.5992, allocations: 4.074 MB / 0.7605 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.6003, allocations: 23.81 kB / 0.7605 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.6013, allocations: 333.7 kB / 0.7608 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.6043, allocations: 1.135 MB / 0.7619 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.6071, allocations: 1.016 MB / 0.7629 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.61, allocations: 2.385 MB / 0.7652 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.6111, allocations: 0.8655 MB / 0.7661 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.6124, allocations: 0.8171 MB / 0.7669 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/0.6134, allocations: 0.7782 MB / 0.7676 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.6135, allocations: 60 kB / 0.7677 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.6152, allocations: 0.799 MB / 0.7685 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.6155, allocations: 326.8 kB / 0.7688 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.6158, allocations: 221.1 kB / 0.769 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6172, allocations: 1.465 MB / 0.7704 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6172, allocations: 0 / 0.7704 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6173, allocations: 0 / 0.7704 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6173, allocations: 0 / 0.7704 GB, free: 2.273 MB / 0.5762 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.003313/0.6206, allocations: 1.505 MB / 0.7719 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6206, allocations: 12.03 kB / 0.7719 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007092/0.6213, allocations: 186.5 kB / 0.7721 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.6229, allocations: 1.003 MB / 0.7731 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.623, allocations: 56.98 kB / 0.7731 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.6231, allocations: 56 kB / 0.7732 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6242, allocations: 0.6193 MB / 0.7738 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6242, allocations: 0 / 0.7738 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.6243, allocations: 20 kB / 0.7738 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.6243, allocations: 17 kB / 0.7738 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.6254, allocations: 0.648 MB / 0.7744 GB, free: 14.05 MB / 0.5919 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.003504/0.629, allocations: 2.681 MB / 0.7771 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/0.6299, allocations: 0.5452 MB / 0.7776 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.6305, allocations: 361.3 kB / 0.7779 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.6309, allocations: 295.2 kB / 0.7782 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6309, allocations: 42.52 kB / 0.7783 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006342/0.6315, allocations: 167.4 kB / 0.7784 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.6315, allocations: 0 / 0.7784 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002011/0.6336, allocations: 1.044 MB / 0.7794 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6336, allocations: 59.41 kB / 0.7795 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.6353, allocations: 1.267 MB / 0.7807 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.6354, allocations: 33.7 kB / 0.7808 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.6357, allocations: 437.7 kB / 0.7812 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6358, allocations: 149.8 kB / 0.7813 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.6358, allocations: 11.94 kB / 0.7813 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.6359, allocations: 326 kB / 0.7816 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.6364, allocations: 272.6 kB / 0.7819 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.6371, allocations: 480.2 kB / 0.7824 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.6376, allocations: 339.6 kB / 0.7827 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6376, allocations: 0 / 0.7827 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001234/0.6389, allocations: 0.7457 MB / 0.7834 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.6389, allocations: 96.09 kB / 0.7835 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6389, allocations: 4 kB / 0.7835 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.639, allocations: 4 kB / 0.7835 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.6396, allocations: 131.8 kB / 0.7836 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6396, allocations: 4.312 kB / 0.7836 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.6406, allocations: 127.8 kB / 0.7838 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.6407, allocations: 19.97 kB / 0.7838 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.6407, allocations: 4 kB / 0.7838 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/0.6418, allocations: 0.632 MB / 0.7844 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.6418, allocations: 4 kB / 0.7844 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.6418, allocations: 4 kB / 0.7844 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.6423, allocations: 123.8 kB / 0.7845 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.6424, allocations: 3.953 kB / 0.7845 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.6433, allocations: 130.2 kB / 0.7847 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.6434, allocations: 19.97 kB / 0.7847 GB, free: 3.211 MB / 0.5919 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.0003615/0.6438, allocations: 326.1 kB / 0.785 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6439, allocations: 102.8 kB / 0.7851 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.6455, allocations: 0.8304 MB / 0.7859 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6455, allocations: 7.938 kB / 0.7859 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6455, allocations: 7.891 kB / 0.7859 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6455, allocations: 4 kB / 0.7859 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.6482, allocations: 1.965 MB / 0.7878 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6482, allocations: 7.984 kB / 0.7878 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.6487, allocations: 108.2 kB / 0.7879 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6487, allocations: 8 kB / 0.7879 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.6487, allocations: 19.98 kB / 0.788 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.6488, allocations: 4 kB / 0.788 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6488, allocations: 11.88 kB / 0.788 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6506, allocations: 1.268 MB / 0.7892 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.651, allocations: 287.7 kB / 0.7895 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.6511, allocations: 19.98 kB / 0.7895 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/0.652, allocations: 87.81 kB / 0.7896 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.652, allocations: 35.95 kB / 0.7896 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.6521, allocations: 19.98 kB / 0.7897 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00125/0.6533, allocations: 0.913 MB / 0.7905 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6534, allocations: 4 kB / 0.7905 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00106/0.6544, allocations: 407.3 kB / 0.7909 GB, free: 12.62 MB / 0.6075 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.0004433/0.6549, allocations: 215.1 kB / 0.7911 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.6566, allocations: 0.9679 MB / 0.7921 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6566, allocations: 4 kB / 0.7921 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.6572, allocations: 352.1 kB / 0.7924 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.6591, allocations: 460.9 kB / 0.7929 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.6616, allocations: 1.991 MB / 0.7948 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.6621, allocations: 1.042 MB / 0.7958 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.6624, allocations: 95.38 kB / 0.7959 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.6624, allocations: 4 kB / 0.7959 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.02065/0.6831, allocations: 16.25 MB / 0.8118 GB, free: 7.367 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o] Error 1