Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.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.001249/0.001249, allocations: 99.98 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.001609/0.001608, allocations: 180 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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.4 MB / 0.6662 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003851, allocations: 11.98 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8899, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2188/1.109, allocations: 166.7 MB / 1.117 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009486/1.118, allocations: 4.563 MB / 1.122 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009096/1.119, allocations: 27.75 kB / 1.122 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/1.12, allocations: 294.1 kB / 1.122 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/1.124, allocations: 1.04 MB / 1.123 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/1.126, allocations: 0.606 MB / 1.124 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002814/1.128, allocations: 2.137 MB / 1.126 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/1.129, allocations: 440.6 kB / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/1.131, allocations: 0.7118 MB / 1.127 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/1.132, allocations: 0.5213 MB / 1.127 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.127e-05/1.132, allocations: 28 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/1.134, allocations: 0.873 MB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/1.134, allocations: 223.3 kB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/1.134, allocations: 169.3 kB / 1.129 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/1.136, allocations: 0.9586 MB / 1.129 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.136, allocations: 0 / 1.129 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.745e-06/1.136, allocations: 0 / 1.129 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.026e-06/1.136, allocations: 0 / 1.129 GB, free: 12.45 MB / 0.8887 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.001627/1.137, allocations: 0.9772 MB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.137, allocations: 8.031 kB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/1.139, allocations: 210.9 kB / 1.131 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/1.14, allocations: 0.5581 MB / 1.131 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/1.14, allocations: 37 kB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/1.14, allocations: 59.98 kB / 1.131 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/1.141, allocations: 494.4 kB / 1.132 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/1.141, allocations: 0 / 1.132 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/1.141, allocations: 16 kB / 1.132 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/1.141, allocations: 20.98 kB / 1.132 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/1.142, allocations: 451.7 kB / 1.132 GB, free: 9.551 MB / 0.8887 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.002808/1.145, allocations: 2.01 MB / 1.134 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/1.145, allocations: 355.5 kB / 1.134 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/1.146, allocations: 214.8 kB / 1.135 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/1.146, allocations: 202.4 kB / 1.135 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.146, allocations: 42.84 kB / 1.135 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/1.146, allocations: 0 / 1.135 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001429/1.147, allocations: 0.5574 MB / 1.135 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.147, allocations: 55.41 kB / 1.136 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/1.148, allocations: 0.4991 MB / 1.136 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/1.148, allocations: 33.7 kB / 1.136 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/1.148, allocations: 300.2 kB / 1.136 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.148, allocations: 114.3 kB / 1.136 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/1.148, allocations: 8 kB / 1.136 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.149, allocations: 370.7 kB / 1.137 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/1.149, allocations: 140.6 kB / 1.137 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/1.149, allocations: 216 kB / 1.137 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/1.15, allocations: 172.9 kB / 1.137 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.15, allocations: 4 kB / 1.137 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00072/1.15, allocations: 428.5 kB / 1.138 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/1.15, allocations: 123.6 kB / 1.138 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.15, allocations: 0 / 1.138 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.15, allocations: 4 kB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/1.151, allocations: 67.91 kB / 1.138 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.151, allocations: 4 kB / 1.138 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/1.151, allocations: 67.64 kB / 1.138 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/1.151, allocations: 12 kB / 1.138 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/1.151, allocations: 5.094 kB / 1.138 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006186/1.152, allocations: 363.7 kB / 1.138 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/1.152, allocations: 0 / 1.138 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/1.152, allocations: 7.938 kB / 1.138 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/1.152, allocations: 72 kB / 1.138 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.152, allocations: 7.953 kB / 1.138 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/1.153, allocations: 67.64 kB / 1.138 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/1.153, allocations: 12 kB / 1.138 GB, free: 2.77 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003029/1.153, allocations: 289 kB / 1.139 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/1.153, allocations: 59.25 kB / 1.139 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/1.154, allocations: 435.2 kB / 1.139 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.154, allocations: 4 kB / 1.139 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.154, allocations: 3.953 kB / 1.139 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006593/1.155, allocations: 448.2 kB / 1.14 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/1.156, allocations: 1.184 MB / 1.141 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.156, allocations: 3.953 kB / 1.141 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/1.157, allocations: 83.89 kB / 1.141 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.157, allocations: 4 kB / 1.141 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/1.157, allocations: 8.062 kB / 1.141 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.157, allocations: 11.98 kB / 1.141 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.157, allocations: 8.172 kB / 1.141 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/1.158, allocations: 0.7186 MB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/1.158, allocations: 184.3 kB / 1.142 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/1.158, allocations: 8 kB / 1.142 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/1.159, allocations: 51.8 kB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/1.159, allocations: 31.91 kB / 1.142 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/1.159, allocations: 15.98 kB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004363/1.159, allocations: 358.8 kB / 1.142 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.159, allocations: 0 / 1.142 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008601/1.16, allocations: 327.2 kB / 1.143 GB, free: 14.4 MB / 0.9044 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 (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.0005324/1.161, allocations: 177.4 kB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.162, allocations: 0.5191 MB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.162, allocations: 0 / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/1.162, allocations: 197.1 kB / 1.143 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.164, allocations: 373.3 kB / 1.144 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.166, allocations: 1.612 MB / 1.145 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/1.167, allocations: 0.9296 MB / 1.146 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.167, allocations: 47.44 kB / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/1.167, allocations: 0 / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.01648/1.183, allocations: 9.694 MB / 1.156 GB, free: 0.8828 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.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 OMCppBuildings_9_Buildings.Fluid.Delays.Examples.DelayCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Delays.Examples.DelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Delays.Examples.DelayCalcHelperMain.o] Error 1