Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 99.34 kB / 16.02 MB, free: 76 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.001178/0.001178, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.338/1.338, allocations: 223.2 MB / 240.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 278.8 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.5 MB / 0.501 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 12.75 kB / 0.5993 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05211/0.2436, allocations: 54.52 MB / 0.739 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02241/0.2661, allocations: 17.73 MB / 0.7563 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.2689, allocations: 63.62 kB / 0.7564 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.2709, allocations: 0.7146 MB / 0.7571 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006135/0.2771, allocations: 2.333 MB / 0.7594 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.2802, allocations: 1.379 MB / 0.7607 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.4276/0.7078, allocations: 27.81 MB / 0.7879 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.7207, allocations: 8.413 MB / 0.7961 GB, free: 24.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/0.7349, allocations: 5.202 MB / 0.8012 GB, free: 23.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.7456, allocations: 5.801 MB / 0.8068 GB, free: 22.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.7474, allocations: 348.5 kB / 0.8072 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006227/0.7536, allocations: 1.023 MB / 0.8082 GB, free: 22.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.7562, allocations: 1.592 MB / 0.8097 GB, free: 21.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008663/0.7649, allocations: 3.898 MB / 0.8135 GB, free: 20.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.7752, allocations: 10.38 MB / 0.8237 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7752, allocations: 0 / 0.8237 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7752, allocations: 0 / 0.8237 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004051/0.7756, allocations: 0 / 0.8237 GB, free: 13.07 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01489/0.7905, allocations: 6.885 MB / 0.8304 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.7906, allocations: 12.03 kB / 0.8304 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/0.7937, allocations: 0.8586 MB / 0.8312 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.8048, allocations: 6.615 MB / 0.8377 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.8052, allocations: 459.7 kB / 0.8381 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.8063, allocations: 0.601 MB / 0.8387 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.8226, allocations: 9.036 MB / 0.8475 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.8228, allocations: 15.88 kB / 0.8475 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006864/0.8235, allocations: 260 kB / 0.8478 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.8237, allocations: 180 kB / 0.848 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.8377, allocations: 7.459 MB / 0.8553 GB, free: 12.45 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.05238/0.8902, allocations: 35.99 MB / 0.8904 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006854/0.897, allocations: 4.301 MB / 0.8946 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005076/0.9021, allocations: 3.326 MB / 0.8978 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.9035, allocations: 0.9862 MB / 0.8988 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004166/0.9077, allocations: 2.394 MB / 0.9011 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003167/0.9109, allocations: 443.8 kB / 0.9016 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.381e-05/0.9109, allocations: 0 / 0.9016 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01344/0.9244, allocations: 7.144 MB / 0.9085 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.9245, allocations: 89.5 kB / 0.9086 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/0.9352, allocations: 5.463 MB / 0.914 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006249/0.9359, allocations: 85.7 kB / 0.9141 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003738/0.9396, allocations: 3.193 MB / 0.9172 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.9412, allocations: 1.118 MB / 0.9183 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008256/0.9421, allocations: 363.4 kB / 0.9186 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9422, allocations: 306.9 kB / 0.9189 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.9461, allocations: 2.16 MB / 0.921 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/0.9512, allocations: 3.683 MB / 0.9246 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008757/0.96, allocations: 6.313 MB / 0.9308 GB, free: 11.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.732e-05/0.9601, allocations: 19.94 kB / 0.9308 GB, free: 11.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01194/0.972, allocations: 6.76 MB / 0.9374 GB, free: 4.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/0.9721, allocations: 59.78 kB / 0.9375 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.929e-05/0.9722, allocations: 48 kB / 0.9375 GB, free: 4.699 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.9733, allocations: 446 kB / 0.9379 GB, free: 4.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/0.977, allocations: 1.01 MB / 0.9389 GB, free: 3.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.9827, allocations: 5.263 MB / 0.944 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/0.9884, allocations: 470.8 kB / 0.9445 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008582/0.9893, allocations: 220 kB / 0.9447 GB, free: 13.05 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005285/0.9946, allocations: 2.481 MB / 0.9471 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/0.9962, allocations: 0.5288 MB / 0.9476 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.007, allocations: 5.254 MB / 0.9528 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/1.007, allocations: 32 kB / 0.9528 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.007, allocations: 4 kB / 0.9528 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007113/1.014, allocations: 4.536 MB / 0.9572 GB, free: 56 kB / 0.6856 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 postOpt removeSimpleEquations (simulation): time 0.0252/1.039, allocations: 11.98 MB / 0.9689 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.039, allocations: 8 kB / 0.9689 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/1.042, allocations: 0.6554 MB / 0.9696 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009115/1.043, allocations: 372.1 kB / 0.9699 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003518/1.043, allocations: 87.95 kB / 0.97 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005391/1.049, allocations: 5.171 MB / 0.9751 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.049, allocations: 3.938 kB / 0.9751 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.061, allocations: 7.637 MB / 0.9825 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/1.065, allocations: 1.213 MB / 0.9837 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/1.067, allocations: 67.98 kB / 0.9838 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005631/1.073, allocations: 474.5 kB / 0.9842 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/1.073, allocations: 202.2 kB / 0.9844 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004384/1.074, allocations: 139.9 kB / 0.9846 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008103/1.082, allocations: 3.809 MB / 0.9883 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.082, allocations: 0 / 0.9883 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008062/1.09, allocations: 1.983 MB / 0.9902 GB, free: 13.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/1.092, allocations: 499.5 kB / 0.9907 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009751/1.102, allocations: 5.382 MB / 0.996 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.102, allocations: 4 kB / 0.996 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004295/1.106, allocations: 2.514 MB / 0.9984 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01949/1.125, allocations: 3.229 MB / 1.002 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/1.159, allocations: 16.74 MB / 1.018 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005724/1.165, allocations: 4.546 MB / 1.022 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/1.167, allocations: 483.3 kB / 1.023 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of SimCode: time 1.412e-06/1.167, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of Templates: time 0.9165/2.083, allocations: 184.9 MB / 1.203 GB, free: 161 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1