Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008725, allocations: 99.36 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.001156/0.001156, allocations: 171.7 kB / 16.58 MB, free: 6.418 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.474/1.474, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7749/0.7749, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5334, allocations: 81.58 MB / 0.5837 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.056/0.5894, allocations: 49.04 MB / 0.6316 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02394/0.6134, allocations: 14.23 MB / 0.6454 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.6177, allocations: 75.5 kB / 0.6455 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.621, allocations: 0.7513 MB / 0.6463 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007268/0.6283, allocations: 1.888 MB / 0.6481 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006404/0.6347, allocations: 1.737 MB / 0.6498 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008569/0.6433, allocations: 5.133 MB / 0.6548 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.6468, allocations: 1.23 MB / 0.656 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004659/0.6515, allocations: 1.536 MB / 0.6575 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.6545, allocations: 1.264 MB / 0.6587 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007041/0.6553, allocations: 71.83 kB / 0.6588 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.6598, allocations: 1.4 MB / 0.6602 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.6608, allocations: 410.3 kB / 0.6606 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.6621, allocations: 400.6 kB / 0.6609 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.6671, allocations: 2.412 MB / 0.6633 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6672, allocations: 0 / 0.6633 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6672, allocations: 0 / 0.6633 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001551/0.6673, allocations: 0 / 0.6633 GB, free: 15.04 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.006279/0.6736, allocations: 2.204 MB / 0.6655 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6737, allocations: 8.031 kB / 0.6655 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.676, allocations: 485 kB / 0.6659 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.68, allocations: 1.582 MB / 0.6675 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.6803, allocations: 166.4 kB / 0.6676 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.6805, allocations: 120 kB / 0.6677 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.6833, allocations: 1.361 MB / 0.6691 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.6834, allocations: 0 / 0.6691 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.6835, allocations: 48 kB / 0.6691 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.6835, allocations: 42.08 kB / 0.6692 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.6861, allocations: 1.14 MB / 0.6703 GB, free: 7.68 MB / 0.4981 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.01021/0.6963, allocations: 7.01 MB / 0.6771 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.6989, allocations: 1.441 MB / 0.6785 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/0.6999, allocations: 439.1 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006397/0.7063, allocations: 3.091 MB / 0.682 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.7075, allocations: 478.7 kB / 0.6824 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000704/0.7082, allocations: 87.23 kB / 0.6825 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.554e-06/0.7082, allocations: 0 / 0.6825 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003095/0.7113, allocations: 1.291 MB / 0.6838 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.7114, allocations: 59.97 kB / 0.6838 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7135, allocations: 1.553 MB / 0.6853 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.804e-05/0.7136, allocations: 41.7 kB / 0.6854 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008605/0.7145, allocations: 0.8686 MB / 0.6862 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.7147, allocations: 228.8 kB / 0.6864 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.7148, allocations: 20 kB / 0.6865 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.715, allocations: 345.9 kB / 0.6868 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008643/0.7158, allocations: 381.8 kB / 0.6872 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.717, allocations: 0.7554 MB / 0.6879 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/0.718, allocations: 496.6 kB / 0.6884 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.718, allocations: 4 kB / 0.6884 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002719/0.7207, allocations: 1.301 MB / 0.6896 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.7211, allocations: 437.4 kB / 0.6901 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.7211, allocations: 8 kB / 0.6901 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/0.7211, allocations: 23.94 kB / 0.6901 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/0.7221, allocations: 267.6 kB / 0.6903 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-05/0.7222, allocations: 27.86 kB / 0.6904 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.7236, allocations: 132.5 kB / 0.6905 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7237, allocations: 51.98 kB / 0.6905 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.7237, allocations: 6.5 kB / 0.6906 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002241/0.726, allocations: 1.138 MB / 0.6917 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.726, allocations: 8 kB / 0.6917 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.726, allocations: 23.95 kB / 0.6917 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.727, allocations: 264.1 kB / 0.6919 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.727, allocations: 23.92 kB / 0.692 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.7283, allocations: 132.5 kB / 0.6921 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.7284, allocations: 51.98 kB / 0.6921 GB, free: 15.87 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.000936/0.7293, allocations: 480.9 kB / 0.6926 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.7296, allocations: 169.8 kB / 0.6928 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.7321, allocations: 1.168 MB / 0.6939 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.7321, allocations: 8 kB / 0.6939 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.7321, allocations: 3.938 kB / 0.6939 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001861/0.734, allocations: 1.006 MB / 0.6949 GB, free: 12.97 MB / 0.5294 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.00424/0.7382, allocations: 2.464 MB / 0.6973 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7382, allocations: 3.938 kB / 0.6973 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.739, allocations: 155.8 kB / 0.6975 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.7392, allocations: 32.83 kB / 0.6975 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.7392, allocations: 23.98 kB / 0.6975 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.7404, allocations: 1.367 MB / 0.6988 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7405, allocations: 0 / 0.6988 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.7436, allocations: 1.623 MB / 0.7004 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007334/0.7444, allocations: 358.6 kB / 0.7008 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.7446, allocations: 16 kB / 0.7008 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7456, allocations: 119.9 kB / 0.7009 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.7458, allocations: 52.48 kB / 0.701 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.7458, allocations: 31.97 kB / 0.701 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001685/0.7475, allocations: 1.093 MB / 0.7021 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.31e-07/0.7475, allocations: 0 / 0.7021 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002749/0.7503, allocations: 0.8849 MB / 0.7029 GB, free: 4.484 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00171/0.752, allocations: 0.7002 MB / 0.7036 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003358/0.7554, allocations: 1.624 MB / 0.7052 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7554, allocations: 0 / 0.7052 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.7565, allocations: 0.5808 MB / 0.7058 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.7597, allocations: 0.7308 MB / 0.7065 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.7654, allocations: 3.815 MB / 0.7102 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/0.7663, allocations: 1.353 MB / 0.7115 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.7668, allocations: 155.3 kB / 0.7117 GB, free: 11.59 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.7668, allocations: 0 / 0.7117 GB, free: 11.59 MB / 0.545 GB Notification: Performance of Templates: time 0.04885/0.8157, allocations: 32.92 MB / 0.7438 GB, free: 10.93 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.o] Error 1