Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000926/0.0009259, allocations: 91.67 kB / 16.33 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008872/0.0008872, allocations: 185 kB / 17.22 MB, free: 5.496 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.429/1.429, allocations: 223.2 MB / 241.2 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7203/0.7203, allocations: 114.4 MB / 406.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.000355, allocations: 8 kB / 494.4 MB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5053, allocations: 77.25 MB / 0.5583 GB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.2333/0.7386, allocations: 166.6 MB / 0.721 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008318/0.747, allocations: 4.581 MB / 0.7255 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.7481, allocations: 23.81 kB / 0.7255 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.7493, allocations: 298.1 kB / 0.7258 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.7526, allocations: 1.033 MB / 0.7268 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.7546, allocations: 0.6045 MB / 0.7274 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.7577, allocations: 2.148 MB / 0.7295 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.7586, allocations: 440.7 kB / 0.7299 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.7604, allocations: 0.7118 MB / 0.7306 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00087/0.7613, allocations: 0.5174 MB / 0.7311 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.086e-05/0.7613, allocations: 24 kB / 0.7311 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.7636, allocations: 0.8769 MB / 0.732 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.7639, allocations: 227.2 kB / 0.7322 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.7642, allocations: 165.3 kB / 0.7324 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.7656, allocations: 0.9548 MB / 0.7333 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7656, allocations: 0 / 0.7333 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7656, allocations: 0 / 0.7333 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.7656, allocations: 4 kB / 0.7333 GB, free: 1.355 MB / 0.5606 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.001587/0.7672, allocations: 0.9733 MB / 0.7343 GB, free: 340 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.7673, allocations: 12.03 kB / 0.7343 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.7686, allocations: 206.9 kB / 0.7345 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.7695, allocations: 0.562 MB / 0.735 GB, free: 15.51 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.7696, allocations: 33 kB / 0.7351 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.7697, allocations: 55.94 kB / 0.7351 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.7706, allocations: 0.4906 MB / 0.7356 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.7706, allocations: 0 / 0.7356 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.7707, allocations: 16 kB / 0.7356 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.7707, allocations: 20.95 kB / 0.7356 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.7716, allocations: 443.7 kB / 0.736 GB, free: 14.46 MB / 0.5763 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.002799/0.7744, allocations: 2.021 MB / 0.738 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.775, allocations: 347.5 kB / 0.7383 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.7754, allocations: 214.7 kB / 0.7386 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.7758, allocations: 190.5 kB / 0.7387 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.7758, allocations: 50.78 kB / 0.7388 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.7758, allocations: 0 / 0.7388 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001223/0.777, allocations: 0.5489 MB / 0.7393 GB, free: 10.87 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.7771, allocations: 55.41 kB / 0.7394 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.7778, allocations: 0.5068 MB / 0.7399 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.7778, allocations: 33.64 kB / 0.7399 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.7781, allocations: 308.2 kB / 0.7402 GB, free: 9.938 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.7782, allocations: 114.3 kB / 0.7403 GB, free: 9.824 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.7782, allocations: 8 kB / 0.7403 GB, free: 9.816 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7784, allocations: 370.7 kB / 0.7407 GB, free: 9.445 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.7786, allocations: 136.6 kB / 0.7408 GB, free: 9.312 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.779, allocations: 224 kB / 0.741 GB, free: 9.07 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.7794, allocations: 167.8 kB / 0.7412 GB, free: 8.906 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7794, allocations: 0 / 0.7412 GB, free: 8.906 MB / 0.5763 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007313/0.7801, allocations: 436.5 kB / 0.7416 GB, free: 8.473 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.7802, allocations: 117.3 kB / 0.7417 GB, free: 8.344 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.7802, allocations: 4 kB / 0.7417 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7802, allocations: 0 / 0.7417 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.7806, allocations: 75.91 kB / 0.7418 GB, free: 8.266 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7806, allocations: 0 / 0.7418 GB, free: 8.266 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.7813, allocations: 71.59 kB / 0.7418 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.7813, allocations: 15.98 kB / 0.7419 GB, free: 8.18 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.7813, allocations: 4 kB / 0.7419 GB, free: 8.176 MB / 0.5763 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006169/0.7819, allocations: 351.8 kB / 0.7422 GB, free: 7.832 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.782, allocations: 4 kB / 0.7422 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-06/0.782, allocations: 0 / 0.7422 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.7823, allocations: 76 kB / 0.7423 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7823, allocations: 7.938 kB / 0.7423 GB, free: 7.746 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.7827, allocations: 67.64 kB / 0.7423 GB, free: 7.68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.7827, allocations: 15.98 kB / 0.7424 GB, free: 7.664 MB / 0.5763 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.0002988/0.7831, allocations: 285 kB / 0.7426 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.7831, allocations: 59.3 kB / 0.7427 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.784, allocations: 436 kB / 0.7431 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.784, allocations: 4 kB / 0.7431 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.784, allocations: 0 / 0.7431 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006355/0.7846, allocations: 448.2 kB / 0.7435 GB, free: 6.41 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.7867, allocations: 1.176 MB / 0.7447 GB, free: 5.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.7867, allocations: 4 kB / 0.7447 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.7871, allocations: 79.89 kB / 0.7448 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.7871, allocations: 7.984 kB / 0.7448 GB, free: 5.07 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.7872, allocations: 15.94 kB / 0.7448 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.7872, allocations: 4.188 kB / 0.7448 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7872, allocations: 4 kB / 0.7448 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.7884, allocations: 0.7144 MB / 0.7455 GB, free: 4.297 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.7886, allocations: 176.3 kB / 0.7457 GB, free: 4.105 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/0.7887, allocations: 15.92 kB / 0.7457 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.7892, allocations: 47.89 kB / 0.7457 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.7893, allocations: 35.86 kB / 0.7458 GB, free: 4.008 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.7893, allocations: 20.06 kB / 0.7458 GB, free: 3.988 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004273/0.7897, allocations: 354.8 kB / 0.7461 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7897, allocations: 0 / 0.7461 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001097/0.7908, allocations: 327.2 kB / 0.7464 GB, free: 3.324 MB / 0.5763 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.0005512/0.7914, allocations: 191 kB / 0.7466 GB, free: 3.141 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.7925, allocations: 0.5314 MB / 0.7471 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7925, allocations: 0 / 0.7471 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.7929, allocations: 189.1 kB / 0.7473 GB, free: 2.426 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.7946, allocations: 367.6 kB / 0.7477 GB, free: 2.078 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.7971, allocations: 1.604 MB / 0.7492 GB, free: 428 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3087/1.106, allocations: 0.9211 MB / 0.7501 GB, free: 174 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/1.106, allocations: 49.97 kB / 0.7502 GB, free: 174 MB / 0.5763 GB Notification: Performance of SimCode: time 9.82e-07/1.106, allocations: 0.7188 kB / 0.7502 GB, free: 174 MB / 0.5763 GB Notification: Performance of Templates: time 0.02182/1.128, allocations: 9.692 MB / 0.7596 GB, free: 173.6 MB / 0.5763 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Delays.Examples.DelayCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Delays.Examples.DelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Delays.Examples.DelayCalcHelperMain.o] Error 1