Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.0008561, allocations: 103 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.0009284/0.0009284, allocations: 177.9 kB / 16.58 MB, free: 6.125 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.451/1.451, allocations: 223.2 MB / 240.6 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8173/0.8173, allocations: 132.3 MB / 424.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5636, allocations: 81.57 MB / 0.5837 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04116/0.6048, allocations: 38.54 MB / 0.6213 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.6219, allocations: 10.22 MB / 0.6313 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.6242, allocations: 46.5 kB / 0.6313 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.6256, allocations: 394.1 kB / 0.6317 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.6295, allocations: 1.146 MB / 0.6328 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.6328, allocations: 0.9437 MB / 0.6338 GB, free: 12.92 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005177/0.638, allocations: 3.033 MB / 0.6367 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.6393, allocations: 0.7756 MB / 0.6375 GB, free: 9.395 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.6414, allocations: 0.875 MB / 0.6383 GB, free: 8.516 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009969/0.6424, allocations: 0.7154 MB / 0.639 GB, free: 7.797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.6425, allocations: 47.98 kB / 0.6391 GB, free: 7.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.6441, allocations: 423.5 kB / 0.6395 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.6443, allocations: 179.1 kB / 0.6396 GB, free: 7.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.6447, allocations: 253 kB / 0.6399 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.6461, allocations: 1.317 MB / 0.6412 GB, free: 5.586 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6462, allocations: 0 / 0.6412 GB, free: 5.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6462, allocations: 0 / 0.6412 GB, free: 5.586 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.6462, allocations: 0 / 0.6412 GB, free: 5.586 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002083/0.6483, allocations: 1.308 MB / 0.6424 GB, free: 4.219 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6483, allocations: 8.031 kB / 0.6425 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.6499, allocations: 394.1 kB / 0.6428 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.6514, allocations: 0.922 MB / 0.6437 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.6515, allocations: 62 kB / 0.6438 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.6516, allocations: 76 kB / 0.6439 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.6535, allocations: 1.03 MB / 0.6449 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6536, allocations: 4 kB / 0.6449 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.6537, allocations: 32 kB / 0.6449 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6537, allocations: 20 kB / 0.6449 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.6559, allocations: 0.8937 MB / 0.6458 GB, free: 0.6914 MB / 478.1 MB 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.005286/0.6612, allocations: 3.88 MB / 0.6496 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.6628, allocations: 0.6698 MB / 0.6502 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007984/0.6637, allocations: 337.4 kB / 0.6506 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.6647, allocations: 0.9536 MB / 0.6515 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.6658, allocations: 455.2 kB / 0.6519 GB, free: 9.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.6658, allocations: 0 / 0.6519 GB, free: 9.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.003274/0.6691, allocations: 1.051 MB / 0.653 GB, free: 8.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6692, allocations: 106.8 kB / 0.6531 GB, free: 8.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.6708, allocations: 0.8508 MB / 0.6539 GB, free: 7.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/0.6709, allocations: 37.7 kB / 0.6539 GB, free: 7.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.6714, allocations: 487.6 kB / 0.6544 GB, free: 7.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.6716, allocations: 169.6 kB / 0.6545 GB, free: 7.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.6716, allocations: 8 kB / 0.6546 GB, free: 7.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6718, allocations: 334 kB / 0.6549 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/0.6727, allocations: 317.1 kB / 0.6552 GB, free: 6.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.6737, allocations: 498.5 kB / 0.6557 GB, free: 6.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.6747, allocations: 394.2 kB / 0.656 GB, free: 5.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.6748, allocations: 0 / 0.656 GB, free: 5.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002346/0.6771, allocations: 0.9612 MB / 0.657 GB, free: 4.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.6772, allocations: 37.75 kB / 0.657 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6772, allocations: 8 kB / 0.657 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.6772, allocations: 8 kB / 0.657 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.6782, allocations: 207.7 kB / 0.6572 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6782, allocations: 11.94 kB / 0.6572 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/0.6792, allocations: 159 kB / 0.6574 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.6792, allocations: 35.98 kB / 0.6574 GB, free: 4.207 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * 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.0004864/0.6797, allocations: 269.6 kB / 0.6577 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.6799, allocations: 95.11 kB / 0.6578 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.6826, allocations: 1.139 MB / 0.6589 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.6826, allocations: 16.02 kB / 0.6589 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6827, allocations: 0 / 0.6589 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6827, allocations: 7.984 kB / 0.6589 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.6865, allocations: 2.206 MB / 0.6611 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6866, allocations: 4.156 kB / 0.6611 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.6874, allocations: 167.7 kB / 0.6612 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.6874, allocations: 8 kB / 0.6612 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.6875, allocations: 15.98 kB / 0.6612 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.6875, allocations: 4 kB / 0.6612 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.6875, allocations: 7.953 kB / 0.6612 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.6906, allocations: 1.542 MB / 0.6628 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.6911, allocations: 283.5 kB / 0.663 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6912, allocations: 19.94 kB / 0.663 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007714/0.692, allocations: 111.8 kB / 0.6632 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6921, allocations: 60.31 kB / 0.6632 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.6922, allocations: 23.98 kB / 0.6632 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009236/0.6931, allocations: 0.5947 MB / 0.6638 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6931, allocations: 0 / 0.6638 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001072/0.6942, allocations: 347.4 kB / 0.6641 GB, free: 13.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.001388/0.6956, allocations: 0.6263 MB / 0.6648 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.6977, allocations: 0.8499 MB / 0.6656 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6977, allocations: 0 / 0.6656 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6987, allocations: 430.7 kB / 0.666 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.7008, allocations: 456 kB / 0.6664 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/0.7086, allocations: 2.977 MB / 0.6693 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.7094, allocations: 1.038 MB / 0.6704 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.7098, allocations: 107.3 kB / 0.6705 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.685e-06/0.7098, allocations: 3.938 kB / 0.6705 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.03056/0.7404, allocations: 18.39 MB / 0.6884 GB, free: 4.598 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_exampleCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Taps.Examples.DHW_exampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Taps.Examples.DHW_exampleCalcHelperMain.o] Error 1