Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008707/0.000871, allocations: 101.6 kB / 15.71 MB, free: 456 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.0009797/0.0009796, allocations: 176 kB / 16.58 MB, free: 6.863 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.498/1.498, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.3 MB / 427 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 9.156 kB / 0.5076 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 82.31 MB / 0.588 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.4812/0.7096, allocations: 38.52 MB / 0.6256 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.7249, allocations: 10.23 MB / 0.6356 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.7288, allocations: 44.91 kB / 0.6356 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.7314, allocations: 396.4 kB / 0.636 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.7371, allocations: 1.134 MB / 0.6371 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.7412, allocations: 0.9657 MB / 0.6381 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005051/0.7463, allocations: 3.027 MB / 0.641 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.748, allocations: 0.7774 MB / 0.6418 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.7504, allocations: 0.8792 MB / 0.6426 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.7516, allocations: 0.7187 MB / 0.6433 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.7518, allocations: 39.25 kB / 0.6434 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.7534, allocations: 429 kB / 0.6438 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.7536, allocations: 187.5 kB / 0.644 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.754, allocations: 244.8 kB / 0.6442 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.7554, allocations: 1.309 MB / 0.6455 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.7554, allocations: 0 / 0.6455 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7554, allocations: 7.938 kB / 0.6455 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.7554, allocations: 0 / 0.6455 GB, free: 21.23 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001903/0.7573, allocations: 1.304 MB / 0.6468 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7574, allocations: 18.83 kB / 0.6468 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.7589, allocations: 386.6 kB / 0.6471 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.7604, allocations: 0.9146 MB / 0.648 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.7604, allocations: 60.12 kB / 0.6481 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.7606, allocations: 80.5 kB / 0.6482 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.7624, allocations: 1.027 MB / 0.6492 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7624, allocations: 3.938 kB / 0.6492 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.7625, allocations: 32.75 kB / 0.6492 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.7626, allocations: 20.31 kB / 0.6492 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.7645, allocations: 0.8872 MB / 0.6501 GB, free: 18.84 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.00461/0.7691, allocations: 3.878 MB / 0.6539 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.7706, allocations: 0.6617 MB / 0.6545 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.7715, allocations: 350.1 kB / 0.6549 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008595/0.7723, allocations: 0.949 MB / 0.6558 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.7735, allocations: 462.7 kB / 0.6562 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.7735, allocations: 4 kB / 0.6562 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.003134/0.7767, allocations: 1.045 MB / 0.6572 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.7767, allocations: 113 kB / 0.6574 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.7782, allocations: 0.8497 MB / 0.6582 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.7783, allocations: 37.7 kB / 0.6582 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.7787, allocations: 478 kB / 0.6587 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.7789, allocations: 164.6 kB / 0.6588 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.7789, allocations: 11.12 kB / 0.6588 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.779, allocations: 330.7 kB / 0.6592 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.7799, allocations: 321.9 kB / 0.6595 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.7811, allocations: 497.2 kB / 0.6599 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7822, allocations: 391.3 kB / 0.6603 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.7822, allocations: 1.938 kB / 0.6603 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002719/0.7849, allocations: 0.9562 MB / 0.6613 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.785, allocations: 39.61 kB / 0.6613 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.785, allocations: 4.906 kB / 0.6613 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/0.7851, allocations: 9.703 kB / 0.6613 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.7862, allocations: 216.3 kB / 0.6615 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/0.7863, allocations: 8.953 kB / 0.6615 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.7874, allocations: 159 kB / 0.6617 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7875, allocations: 41.56 kB / 0.6617 GB, free: 11.88 MB / 0.4981 GB 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.0005702/0.7881, allocations: 262 kB / 0.662 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.7882, allocations: 99.22 kB / 0.6621 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.7913, allocations: 1.145 MB / 0.6632 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.7913, allocations: 7.578 kB / 0.6632 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7913, allocations: 5.094 kB / 0.6632 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7914, allocations: 3.688 kB / 0.6632 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/0.7963, allocations: 2.204 MB / 0.6653 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.7964, allocations: 6.125 kB / 0.6653 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/0.7973, allocations: 168 kB / 0.6655 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.7974, allocations: 3.438 kB / 0.6655 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.7974, allocations: 20.28 kB / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.7974, allocations: 3.219 kB / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7975, allocations: 5.031 kB / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.8011, allocations: 1.547 MB / 0.667 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/0.8018, allocations: 278.5 kB / 0.6673 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.8019, allocations: 14.5 kB / 0.6673 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.8028, allocations: 116.4 kB / 0.6674 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.803, allocations: 52.5 kB / 0.6675 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.803, allocations: 24.59 kB / 0.6675 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001165/0.8042, allocations: 0.5987 MB / 0.6681 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.02e-07/0.8042, allocations: 1.281 kB / 0.6681 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001596/0.8058, allocations: 349.7 kB / 0.6684 GB, free: 8.766 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.001657/0.8075, allocations: 0.6397 MB / 0.6691 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.8101, allocations: 0.8462 MB / 0.6699 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.8101, allocations: 0 / 0.6699 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.8113, allocations: 440.3 kB / 0.6703 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/0.8141, allocations: 459 kB / 0.6707 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/0.8237, allocations: 2.965 MB / 0.6736 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.8248, allocations: 1.044 MB / 0.6747 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.8254, allocations: 104 kB / 0.6748 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of SimCode: time 1.734e-06/0.8254, allocations: 0 / 0.6748 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of Templates: time 0.04407/0.8694, allocations: 18.38 MB / 0.6927 GB, free: 14.79 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Taps.Examples.DHW_exampleCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_exampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_exampleCalcHelperMain.o] Error 1