Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007822/0.0007822, allocations: 100.5 kB / 15.71 MB, free: 452 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.000868/0.0008682, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.409/1.409, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7278/0.7278, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003046, allocations: 8 kB / 0.504 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4699, allocations: 81.58 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2047/0.6747, allocations: 172.5 MB / 0.7522 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007208/0.6819, allocations: 4.063 MB / 0.7562 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.683, allocations: 23.81 kB / 0.7562 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.6841, allocations: 329.7 kB / 0.7565 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.6872, allocations: 1.139 MB / 0.7576 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.6902, allocations: 1.017 MB / 0.7586 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002794/0.693, allocations: 2.396 MB / 0.7609 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.6941, allocations: 0.8521 MB / 0.7618 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.6953, allocations: 0.8132 MB / 0.7626 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.6963, allocations: 0.7821 MB / 0.7633 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.6964, allocations: 56 kB / 0.7634 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.6982, allocations: 0.8029 MB / 0.7642 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.6986, allocations: 330.8 kB / 0.7645 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.6988, allocations: 221.1 kB / 0.7647 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.7002, allocations: 1.469 MB / 0.7661 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7002, allocations: 0 / 0.7661 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7002, allocations: 0 / 0.7661 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.7002, allocations: 0 / 0.7661 GB, free: 5.258 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.003372/0.7036, allocations: 1.499 MB / 0.7676 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7036, allocations: 8.031 kB / 0.7676 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.7044, allocations: 186.5 kB / 0.7678 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.706, allocations: 1.011 MB / 0.7688 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.7062, allocations: 48.98 kB / 0.7688 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.7063, allocations: 56 kB / 0.7689 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.7074, allocations: 0.6232 MB / 0.7695 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7074, allocations: 0 / 0.7695 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.7075, allocations: 20 kB / 0.7695 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.7075, allocations: 20.98 kB / 0.7695 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.7088, allocations: 0.6441 MB / 0.7701 GB, free: 1.039 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.003683/0.7125, allocations: 2.677 MB / 0.7728 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.7135, allocations: 0.549 MB / 0.7733 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.7141, allocations: 353.4 kB / 0.7736 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.7145, allocations: 295.3 kB / 0.7739 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.7145, allocations: 46.47 kB / 0.7739 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000614/0.7151, allocations: 167.4 kB / 0.7741 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.7152, allocations: 0 / 0.7741 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002139/0.7173, allocations: 1.051 MB / 0.7751 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7173, allocations: 55.41 kB / 0.7752 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.7191, allocations: 1.263 MB / 0.7764 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.7192, allocations: 37.7 kB / 0.7765 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.7195, allocations: 437.7 kB / 0.7769 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.7197, allocations: 153.8 kB / 0.777 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.7197, allocations: 4 kB / 0.777 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7199, allocations: 322 kB / 0.7773 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.7204, allocations: 272.6 kB / 0.7776 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.7211, allocations: 491 kB / 0.7781 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.7217, allocations: 317 kB / 0.7784 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7217, allocations: 0 / 0.7784 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001329/0.723, allocations: 0.7571 MB / 0.7791 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.7231, allocations: 101.3 kB / 0.7792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7231, allocations: 0 / 0.7792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7231, allocations: 0 / 0.7792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.7237, allocations: 131.8 kB / 0.7793 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.7238, allocations: 4 kB / 0.7793 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.7248, allocations: 122.8 kB / 0.7794 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.7249, allocations: 27.97 kB / 0.7795 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.7249, allocations: 6.031 kB / 0.7795 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.7261, allocations: 0.6282 MB / 0.7801 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/0.7261, allocations: 0 / 0.7801 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/0.7261, allocations: 3.984 kB / 0.7801 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.7267, allocations: 131.8 kB / 0.7802 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7267, allocations: 4 kB / 0.7802 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009873/0.7277, allocations: 115.7 kB / 0.7803 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.7278, allocations: 27.97 kB / 0.7804 GB, free: 6.215 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.0003975/0.7282, allocations: 333 kB / 0.7807 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.7283, allocations: 98.78 kB / 0.7808 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.73, allocations: 0.8304 MB / 0.7816 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.73, allocations: 11.95 kB / 0.7816 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.73, allocations: 7.938 kB / 0.7816 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.73, allocations: 3.984 kB / 0.7816 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.7328, allocations: 1.97 MB / 0.7835 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7329, allocations: 4.031 kB / 0.7835 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.7334, allocations: 115.8 kB / 0.7836 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7334, allocations: 7.984 kB / 0.7837 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.7334, allocations: 11.98 kB / 0.7837 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.7334, allocations: 8 kB / 0.7837 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7335, allocations: 0 / 0.7837 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.7354, allocations: 1.276 MB / 0.7849 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.7358, allocations: 295.6 kB / 0.7852 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.7359, allocations: 12 kB / 0.7852 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.7368, allocations: 83.88 kB / 0.7853 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.7369, allocations: 35.89 kB / 0.7853 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.737, allocations: 27.94 kB / 0.7854 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001308/0.7383, allocations: 0.9091 MB / 0.7862 GB, free: 20 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7383, allocations: 0 / 0.7862 GB, free: 20 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001164/0.7395, allocations: 407.4 kB / 0.7866 GB, free: 15.62 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.00049/0.74, allocations: 221.5 kB / 0.7868 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7418, allocations: 0.9744 MB / 0.7878 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7418, allocations: 0 / 0.7878 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.7424, allocations: 348.1 kB / 0.7881 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.7445, allocations: 464.1 kB / 0.7886 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.7471, allocations: 1.98 MB / 0.7905 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.7477, allocations: 1.042 MB / 0.7915 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.7481, allocations: 99.38 kB / 0.7916 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.7481, allocations: 4 kB / 0.7916 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of Templates: time 0.0235/0.7716, allocations: 16.27 MB / 0.8075 GB, free: 10.34 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile make -j1 -f IDEAS_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_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o] Error 1