Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.000948, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009914/0.0009915, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.438/1.438, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 255.1 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9712/0.9712, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004708, allocations: 11.03 kB / 0.5993 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1805, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.549/0.7296, allocations: 178.6 MB / 0.8602 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.7387, allocations: 4.88 MB / 0.865 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.7398, allocations: 25.5 kB / 0.865 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7411, allocations: 363.4 kB / 0.8653 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.7448, allocations: 1.327 MB / 0.8666 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.7468, allocations: 0.7086 MB / 0.8673 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.7499, allocations: 2.527 MB / 0.8698 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009448/0.7508, allocations: 494.8 kB / 0.8703 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.7529, allocations: 0.7629 MB / 0.871 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.7543, allocations: 0.5469 MB / 0.8715 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.7545, allocations: 28.69 kB / 0.8716 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.7576, allocations: 1.61 MB / 0.8731 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.758, allocations: 226.1 kB / 0.8733 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007211/0.7587, allocations: 393.1 kB / 0.8737 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.7603, allocations: 1.011 MB / 0.8747 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7603, allocations: 0 / 0.8747 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7604, allocations: 0 / 0.8747 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.201e-05/0.7604, allocations: 0 / 0.8747 GB, free: 12.7 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002039/0.7624, allocations: 0.9683 MB / 0.8757 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7625, allocations: 7.938 kB / 0.8757 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.7639, allocations: 215.8 kB / 0.8759 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.7649, allocations: 0.5865 MB / 0.8764 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.765, allocations: 36.66 kB / 0.8765 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.7651, allocations: 46.09 kB / 0.8765 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.766, allocations: 0.4939 MB / 0.877 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.7661, allocations: 0 / 0.877 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.7661, allocations: 21.28 kB / 0.877 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.7662, allocations: 18.97 kB / 0.877 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.767, allocations: 454.5 kB / 0.8775 GB, free: 10.79 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.002984/0.77, allocations: 2.017 MB / 0.8794 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.7707, allocations: 348.9 kB / 0.8798 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.7711, allocations: 220.3 kB / 0.88 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.7714, allocations: 187.2 kB / 0.8802 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.7714, allocations: 38.19 kB / 0.8802 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.7714, allocations: 0 / 0.8802 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001368/0.7728, allocations: 0.5709 MB / 0.8808 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.7729, allocations: 63.34 kB / 0.8808 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.7736, allocations: 0.503 MB / 0.8813 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.7736, allocations: 33.7 kB / 0.8813 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.7739, allocations: 304.2 kB / 0.8816 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.774, allocations: 110.3 kB / 0.8817 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.7741, allocations: 37.7 kB / 0.8818 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.7743, allocations: 362.8 kB / 0.8821 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.7746, allocations: 148.6 kB / 0.8823 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.7749, allocations: 216.7 kB / 0.8825 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.7756, allocations: 344.9 kB / 0.8828 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7756, allocations: 4 kB / 0.8828 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000749/0.7763, allocations: 440.7 kB / 0.8832 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/0.7764, allocations: 123.4 kB / 0.8833 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7764, allocations: 4 kB / 0.8833 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7765, allocations: 4 kB / 0.8833 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.7768, allocations: 75.89 kB / 0.8834 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7768, allocations: 4 kB / 0.8834 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.7774, allocations: 63.64 kB / 0.8835 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.7774, allocations: 16 kB / 0.8835 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.7774, allocations: 8 kB / 0.8835 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006445/0.7781, allocations: 355.8 kB / 0.8838 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.7781, allocations: 0 / 0.8838 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.7781, allocations: 7.938 kB / 0.8839 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.7784, allocations: 83.92 kB / 0.8839 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.7784, allocations: 0 / 0.8839 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.7789, allocations: 67.64 kB / 0.884 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.7789, allocations: 12 kB / 0.884 GB, free: 4.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.7793, allocations: 293 kB / 0.8843 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7794, allocations: 63.25 kB / 0.8843 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.7803, allocations: 431.3 kB / 0.8848 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.7803, allocations: 4 kB / 0.8848 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7803, allocations: 0 / 0.8848 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006997/0.781, allocations: 452.1 kB / 0.8852 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.7829, allocations: 1.18 MB / 0.8863 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.7829, allocations: 11.92 kB / 0.8864 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.7833, allocations: 87.89 kB / 0.8864 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7833, allocations: 0 / 0.8864 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.7834, allocations: 8 kB / 0.8864 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.7834, allocations: 8.188 kB / 0.8865 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.7834, allocations: 4 kB / 0.8865 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.7845, allocations: 0.715 MB / 0.8872 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.7848, allocations: 184.3 kB / 0.8873 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.7848, allocations: 8 kB / 0.8873 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.7853, allocations: 57.05 kB / 0.8874 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.7854, allocations: 27.97 kB / 0.8874 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.7854, allocations: 12 kB / 0.8874 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004147/0.7859, allocations: 362.8 kB / 0.8878 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7859, allocations: 0 / 0.8878 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008303/0.7867, allocations: 323.2 kB / 0.8881 GB, free: 240 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004476/0.7872, allocations: 187.5 kB / 0.8883 GB, free: 52 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.7882, allocations: 0.535 MB / 0.8888 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7882, allocations: 4 kB / 0.8888 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.7886, allocations: 191 kB / 0.889 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.7905, allocations: 366.5 kB / 0.8893 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.7928, allocations: 1.61 MB / 0.8909 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.7933, allocations: 0.9296 MB / 0.8918 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.7934, allocations: 51.44 kB / 0.8919 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.7934, allocations: 0 / 0.8919 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.01521/0.8087, allocations: 9.672 MB / 0.9013 GB, free: 2.727 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Delays.Examples.DelayCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Delays.Examples.DelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Delays.Examples.DelayCalcHelperMain.o] Error 1