Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008476, allocations: 100.2 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.0009866/0.0009867, allocations: 176.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.455/1.455, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.3 MB / 424 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 13.36 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.548, allocations: 81.57 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05959/0.6077, allocations: 49.04 MB / 0.6316 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02416/0.6319, allocations: 14.21 MB / 0.6454 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.6362, allocations: 79.44 kB / 0.6455 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.6395, allocations: 0.7611 MB / 0.6463 GB, free: 340 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006712/0.6462, allocations: 1.887 MB / 0.6481 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.652, allocations: 1.734 MB / 0.6498 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00797/0.66, allocations: 5.141 MB / 0.6548 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.6627, allocations: 1.225 MB / 0.656 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.6668, allocations: 1.532 MB / 0.6575 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/0.6696, allocations: 1.26 MB / 0.6587 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.6699, allocations: 68 kB / 0.6588 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.6737, allocations: 1.408 MB / 0.6602 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005824/0.6743, allocations: 410.3 kB / 0.6606 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007909/0.6751, allocations: 396.6 kB / 0.6609 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.6788, allocations: 2.408 MB / 0.6633 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6788, allocations: 0 / 0.6633 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6788, allocations: 4 kB / 0.6633 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.853e-05/0.6788, allocations: 0 / 0.6633 GB, free: 14.83 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.004127/0.683, allocations: 2.202 MB / 0.6655 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.683, allocations: 8.031 kB / 0.6655 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.6849, allocations: 489 kB / 0.6659 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.6879, allocations: 1.578 MB / 0.6675 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.6883, allocations: 162.3 kB / 0.6676 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.6885, allocations: 120 kB / 0.6677 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.691, allocations: 1.369 MB / 0.6691 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.691, allocations: 3.984 kB / 0.6691 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6911, allocations: 44 kB / 0.6691 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.6912, allocations: 46.08 kB / 0.6692 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.6936, allocations: 1.132 MB / 0.6703 GB, free: 7.473 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.008869/0.7025, allocations: 7.006 MB / 0.6771 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.7049, allocations: 1.445 MB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008869/0.7058, allocations: 441.7 kB / 0.6789 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00453/0.7103, allocations: 3.103 MB / 0.682 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009909/0.7113, allocations: 470.8 kB / 0.6824 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005037/0.7118, allocations: 83.3 kB / 0.6825 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.638e-06/0.7119, allocations: 0 / 0.6825 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00297/0.7148, allocations: 1.295 MB / 0.6838 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7149, allocations: 59.97 kB / 0.6838 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.717, allocations: 1.549 MB / 0.6853 GB, free: 7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.7171, allocations: 45.7 kB / 0.6854 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000747/0.7178, allocations: 0.8647 MB / 0.6862 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.718, allocations: 224.8 kB / 0.6864 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.7181, allocations: 20 kB / 0.6865 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7182, allocations: 349.9 kB / 0.6868 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/0.7191, allocations: 381.8 kB / 0.6872 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.7202, allocations: 0.7592 MB / 0.6879 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7212, allocations: 488.6 kB / 0.6884 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7212, allocations: 8 kB / 0.6884 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002654/0.7239, allocations: 1.297 MB / 0.6896 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.7243, allocations: 441.3 kB / 0.6901 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.7243, allocations: 12 kB / 0.6901 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.7243, allocations: 20 kB / 0.6901 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.7254, allocations: 271.6 kB / 0.6903 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-05/0.7255, allocations: 23.92 kB / 0.6904 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.7268, allocations: 136.5 kB / 0.6905 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7269, allocations: 47.98 kB / 0.6905 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.7269, allocations: 4 kB / 0.6905 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002368/0.7293, allocations: 1.142 MB / 0.6917 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7293, allocations: 8 kB / 0.6917 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.7294, allocations: 23.95 kB / 0.6917 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009761/0.7304, allocations: 268 kB / 0.6919 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.7304, allocations: 23.92 kB / 0.692 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7316, allocations: 132.4 kB / 0.6921 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.7317, allocations: 55.97 kB / 0.6922 GB, free: 15.65 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.0009273/0.7326, allocations: 473.9 kB / 0.6926 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.7328, allocations: 177.8 kB / 0.6928 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.7354, allocations: 1.166 MB / 0.6939 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.7354, allocations: 12 kB / 0.6939 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.7354, allocations: 0 / 0.6939 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001861/0.7373, allocations: 1.009 MB / 0.6949 GB, free: 12.75 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.004424/0.7417, allocations: 2.452 MB / 0.6973 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7417, allocations: 0 / 0.6973 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.7424, allocations: 155.8 kB / 0.6975 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.7427, allocations: 32.83 kB / 0.6975 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.7427, allocations: 27.98 kB / 0.6975 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.744, allocations: 1.359 MB / 0.6988 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.744, allocations: 0 / 0.6988 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.7471, allocations: 1.627 MB / 0.7004 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.7477, allocations: 354.8 kB / 0.7008 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.7479, allocations: 16 kB / 0.7008 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009419/0.7489, allocations: 119.9 kB / 0.7009 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.749, allocations: 56.47 kB / 0.7009 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.7491, allocations: 31.97 kB / 0.701 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001858/0.7509, allocations: 1.097 MB / 0.7021 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.751, allocations: 0 / 0.7021 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002831/0.7538, allocations: 0.8849 MB / 0.7029 GB, free: 4.273 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,hea.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.001597/0.7554, allocations: 0.7015 MB / 0.7036 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.7588, allocations: 1.628 MB / 0.7052 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7588, allocations: 3.938 kB / 0.7052 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.7599, allocations: 0.5728 MB / 0.7058 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/0.763, allocations: 0.7306 MB / 0.7065 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.7696, allocations: 3.811 MB / 0.7102 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.7707, allocations: 1.353 MB / 0.7115 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/0.7713, allocations: 155.3 kB / 0.7117 GB, free: 11.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/0.7713, allocations: 0 / 0.7117 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Templates: time 0.05267/0.824, allocations: 32.93 MB / 0.7438 GB, free: 10.73 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_TCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.o] Error 1